Skip to content

[BUG] 'No module named os' in promptflow core package #4047

@SageWorks4925

Description

@SageWorks4925

My azure app service deployments are failing due the missing 'import os' statement from 'src/promptflow-core/promptflow/core/_serving/v1/blueprint/static_web_blueprint.py' file.

If you see, line 27 uses os package to get environment Variable value. But there is no 'import os' statement.

Somehow this is in latest promptflow core package. I would appreciate it if you could resolve this issue asap. It would be great to know if there is a workaround or maybe bypass this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingno-recent-activityThere has been no recent activity on this issue/pull request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions