-
Notifications
You must be signed in to change notification settings - Fork 10
Environment
Benjamin Nelson DeMann edited this page Jan 5, 2018
·
2 revisions
The environment class allows you to access the information stored in the .project file for the project.
It also takes care of some related operations. It can use the email information from the .project file to send out emails and given a username it can get a users workspace.
- create_new_dict(name, assets_dir, shots_dir, tools_dir, crowds_dir, users_dir, hda_dir, email_address=None, email_password=None):
- _init_(self)
- get_project_name(self)
- get_project_dir(self)
- get_assets_dir(self)
- get_shots_dir(self)
- get_tools_dir(self)
- get_crowds_dir(self)
- get_hda_dir(self)
- _create_user(self, username)
- get_user(self, username=None)
- get_users_dir(self)
- get_current_username(self)
- get_user_workspace(self, username=None)
- sendmail(self, dst_addresses, subject, message)