Skip to content

Element

Benjamin Nelson DeMann edited this page Aug 24, 2017 · 1 revision

Element

Elements do a lot of the heavy lifting. This class does the checkout, publish, assignments, and caching stuff.

The element class also allows you to access the information stored in the .element file for each element.

Nested Classes

Sub-classes

Static Methods

  • create_new_dict(name, department, parent_name):

Instance Methods

  • _init_(self, filepath=None):
  • load_pipeline_file(self, filepath):
  • _update_pipeline_file(self):
  • get_name(self):
  • get_parent(self):
  • get_dir(self):
  • get_department(self):
  • get_long_name(self):
  • get_short_name(self):
  • get_status(self):
  • get_assigned_user(self):
  • get_last_publish(self):
  • list_publishes(self):
  • get_last_note(self):
  • list_notes(self):
  • get_start_date(self):
  • get_end_date(self):
  • get_app_ext(self):
  • get_app_filename(self):
  • get_app_filepath(self):
  • get_version_dir(self, version):
  • get_cache_ext(self):
  • get_cache_dir(self):
  • get_render_dir(self):
  • list_checkout_users(self):
  • update_status(self, status):
  • update_assigned_user(self, username):
  • update_start_date(self, date):
  • update_end_date(self, date):
  • update_checkout_users(self, username):
  • update_notes(self, note):
  • get_checkout_dir(self, username):
  • checkout(self, username):
  • publish(self, username, src, comment, status=None):
  • update_cache(self, src, reference=False):
  • list_cache_files(self):