Module Expr Str ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareNotIn NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIn NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str body Expr Str For NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str For NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str For NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A The artifact definitions registry. artifacts definitions ArtifactDefinitionsRegistry N/A object N/A N/A Class that implements the artifact definitions registry. __init__ N/A N/A self N/A N/A N/A Initializes the artifact definitions registry object. N/A N/A N/A N/A super ArtifactDefinitionsRegistry self __init__ N/A N/A self _artifact_definitions N/A N/A N/A self _artifact_name_references N/A set N/A N/A self _defined_artifact_names N/A set N/A DeregisterDefinition N/A N/A self artifact_definition N/A N/A N/A Deregisters an artifact definition.

    The artifact definitions are identified based on their lower case name.

    Args:
      artifact_definition: the artifact definitions (instance of
                           ArtifactDefinition).

    Raises:
      KeyError: if an artifact definition is not set for the corresponding name.
     N/A artifact_definition_name N/A N/A N/A artifact_definition name lower N/A N/A artifact_definition_name N/A self _artifact_definitions N/A N/A N/A KeyError N/A N/A Artifact definition not set for name: {0}. format N/A artifact_definition name N/A N/A N/A self _artifact_definitions N/A artifact_definition_name N/A GetDefinitionByName N/A N/A self name N/A N/A N/A Retrieves a specific artifact definition by name.

    Args:
      name: the name of the artifact definition.

    Returns:
      The artifact definition (instance of ArtifactDefinition) or None
      if not available.
     N/A name N/A N/A N/A N/A N/A self _artifact_definitions get N/A N/A name lower None N/A GetDefinitions N/A N/A self N/A N/A N/A Retrieves the artifact definitions.

    Returns:
      An array of ArtifactDefinition objects.
     N/A N/A N/A N/A self _artifact_definitions values N/A GetUndefinedArtifacts N/A N/A self N/A N/A N/A Retrieves the names of undefined artifacts used by artifact groups.

    Returns:
      A set of the undefined artifacts names.
     N/A N/A N/A self _artifact_name_references N/A self _defined_artifact_names N/A RegisterDefinition N/A N/A self artifact_definition N/A N/A N/A Registers an artifact definition.

    The artifact definitiones are identified based on their lower case name.

    Args:
      artifact_definition: the artifact definitions (instance of
                           ArtifactDefinition).

    Raises:
      KeyError: if artifact definition is already set for the corresponding
                name.
     N/A artifact_definition_name N/A N/A N/A artifact_definition name lower N/A N/A artifact_definition_name N/A self _artifact_definitions N/A N/A N/A KeyError N/A N/A Artifact definition already set for name: {0}. format N/A artifact_definition name N/A N/A N/A self _artifact_definitions N/A artifact_definition_name artifact_definition N/A N/A N/A N/A self _defined_artifact_names add N/A artifact_definition name N/A source N/A artifact_definition sources N/A N/A N/A N/A source type_indicator N/A definitions TYPE_INDICATOR_ARTIFACT_GROUP N/A N/A N/A N/A N/A self _artifact_name_references update N/A source names N/A ReadFromDirectory N/A N/A self artifact_reader path extension N/A yaml N/A N/A Reads artifact definitions into the registry from files in a directory.

    This function does not recurse sub directories.

    Args:
      artifacts_reader: an artifacts reader object (instance of
                        ArtifactsReader).
      path: the path of the directory to read from.
      extension: optional extension of the filenames to read.
                 The default is 'yaml'.

    Raises:
      KeyError: if a duplicate artifact definition is encountered.
     N/A artifact_definition N/A N/A artifact_reader ReadDirectory path extension extension N/A N/A N/A N/A self RegisterDefinition artifact_definition N/A ReadFromFile N/A N/A self artifact_reader filename N/A N/A N/A Reads artifact definitions into the registry from a file.

    Args:
      artifacts_reader: an artifacts reader object (instance of
                        ArtifactsReader).
      filename: the name of the file to read from.
     N/A artifact_definition N/A N/A artifact_reader ReadFile filename N/A N/A N/A N/A self RegisterDefinition artifact_definition N/A ReadFileObject N/A N/A self artifact_reader file_object N/A N/A N/A Reads artifact definitions into the registry from a file-like object.

    Args:
      artifacts_reader: an artifacts reader object (instance of
                        ArtifactsReader).
      file_object: the file-like object to read from.
     N/A artifact_definition N/A N/A artifact_reader ReadFileObject file_object N/A N/A N/A N/A self RegisterDefinition artifact_definition N/A N/A