forked from shotgunsoftware/tk-config-default2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
after_project_create.py
30 lines (25 loc) · 1.08 KB
/
after_project_create.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright (c) 2015 Shotgun Software Inc.
#
# CONFIDENTIAL AND PROPRIETARY
#
# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit
# Source Code License included in this distribution package. See LICENSE.
# By accessing, using, copying or modifying this work you indicate your
# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights
# not expressly granted therein are reserved by Shotgun Software Inc.
"""
The after_project_create file is executed as part of creating a new project.
If your starter config needs to create any data in shotgun or do any other
special configuration, you can add it to this file.
The create() method will be executed as part of the setup and is passed
the following keyword arguments:
* sg - A shotgun connection
* project_id - The shotgun project id that is being setup
* log - A logger instance to which progress can be reported via
standard logger methods (info, warning, error etc)
"""
def create(sg, project_id, log, **kwargs):
"""
Insert post-project code here
"""
pass