Skip to content

specs: type AppDryRunInfo _cfg #515

@d4l3k

Description

@d4l3k

Description

We currently have TypedDict typings for all of the scheduler configs. We should update AppDryRunInfo to use that instead of the generic Mapping[str, CfgVal] types. This should help cleanup the ytpe asserts/gets we do and improve safety since pyre will actually type those values.

self._cfg: Mapping[str, CfgVal] = {}

This is follow up work to T117253858

#482

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmodule: specsissues related to the torchx.specs module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions