Scopes#

type gafaelfawr.types.Scopes = Annotated[set[str], pydantic.functional_validators.PlainValidator(func=gafaelfawr.types._normalize_scopes, json_schema_input_type=Any), pydantic.functional_serializers.PlainSerializer(func=sorted, return_type=list[str], when_used=json)]#

Type for a list of scopes.

The scopes will be forced to sorted order on serialization.