Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions avalon/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,14 @@ def _from_environment():
# Optional path to scenes directory (see Work Files API)
("AVALON_SCENEDIR", None),

# Optional hierarchy for the current Asset. This can be referenced
# as `{hierarchy}` in your file templates.
# This will be (re-)computed when you switch the context to another
# asset. It is computed by checking asset['data']['parents'] and
# joining those together with `os.path.sep`.
# E.g.: ['ep101', 'scn0010'] -> 'ep101/scn0010'.
("AVALON_HIERARCHY", None),

# Name of current Config
# TODO(marcus): Establish a suitable default config
("AVALON_CONFIG", "no_config"),
Expand Down