plexus.cli.shared.direct_identifier_resolution module

Direct implementation of identifier resolution functions without context managers.

plexus.cli.shared.direct_identifier_resolution.direct_resolve_score_identifier(client, scorecard_id: str, identifier: str) str | None

Resolve a score identifier to its ID within a specific scorecard without using context managers.

Args:

client: The API client scorecard_id: The ID of the scorecard containing the score identifier: The identifier to resolve (ID, name, key, or external ID)

Returns:

The score ID if found, None otherwise

plexus.cli.shared.direct_identifier_resolution.direct_resolve_scorecard_identifier(client, identifier: str) str | None

Resolve a scorecard identifier to its ID without using context managers.

Args:

client: The API client identifier: The identifier to resolve (ID, name, key, or external ID)

Returns:

The scorecard ID if found, None otherwise