aac.in_out.files.aac_file

File metadata and management class for AaC.

Classes

AaCFile(uri, is_user_editable, ...)

An Architecture-as-Code file containing AaC definitions.

class aac.in_out.files.aac_file.AaCFile(uri: str, is_user_editable: bool, is_loaded_in_context: bool)[source]

An Architecture-as-Code file containing AaC definitions.

Parameters:
  • uri (str)

  • is_user_editable (bool)

  • is_loaded_in_context (bool)

uri

The file’s URI path

Type:

str

is_user_editable

True if the file can be edited by the user, otherwise false

Type:

bool

is_loaded_in_context

True if the file is currently loaded into the context, otherwise false

Type:

bool

__eq__(obj)[source]

Equals function for the class.

__hash__()[source]

Hash function for the class.