Skip to content

refactor(utils): export the install lock and worker refusal helpers from public packages #5980

Open

Description

@ananthsub

#4790 imports nemo_gym.utils.install_lock from seven agent installers, and nemo_gym.server_runtime.base_server.refuse_unsupported_num_workers from finance_sec_search and several server tests. AGENTS.md asks code outside nemo_gym/ to import from a package's public API.

Export both from their packages and move the callers to those imports. An exported function named install_lock would collide with the nemo_gym.utils.install_lock submodule, so the export needs another name, or the module needs renaming.

Raised in the review of #4790.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions