Skip to content

Upgrade code for Python 3.11 #369

@adubovik

Description

@adubovik

Use list and dict everywhere instead of imports from typing.

Could be done automatically via the upgrader:

pip install pyupgrade
pyupgrade --py311-plus aidial_adapter_openai/**/*.py
pyupgrade --py311-plus tests/**/*.py

Similarly, for other DIAL Python projects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions