implemented-connections

important subclasses:

Project

class pipeLion.assets.project.Project(name, project='', id=None, producer=None, td=None)[source]

The Project-class is derived by AbstractGroup. it is special as it has no children as it is the topmost element in the dataFlow. The project-Node holds a Store of all nodes connected to this project in the database.

addBlockedDay(year, month, day)[source]

method will add a day to the blocked_days list, which will indicate the days at which this user is unavailable for project-work

Parameters:
  • year (int) – the year
  • month (int) – the month
  • day (int) – the day
additionalInitializeFromAssetDict(assetDict)[source]

this method is a reimplementment of DataElement to be able to set the possible connections correctly

connectAssets()[source]

method is called by the initializeProject function and will setup all connections inbetween the loaded nodes

findAssets(all=True)[source]

this method will make a database request to get all Nodes within a project. in case the all-argument is truned off, it will only create the latest and connected nodes from the dataBase.

it will return a dictionary which looks like this:

{'baseId': {
                        'versions': {
                                                0:[node_version0]
                                                1: [node_version1]
                                                -1: [pointer to 1]
                                                }
                        'ids' {
                                Id1:[node_version1]
                                Id2:[node_version0]
                                }
                }
}
Parameters:all (bool) – indicates if the nodes should be filtered
Returns:dictionary of all Nodes, which looks like in the example above
Return type:dictionary
getBlockedDays()[source]

will return a list of datetime objects, with all blocked dates in it. if given a project, it will be taken to account, wether the projects supports weekend-work or not

Returns:a list of datetime.date objects, indicating the days at which all users working on this project are blocked from work
Return type:list
getListOfAssetsObjects()[source]

this method will put all latest versions into a list of all Nodes

Returns:list of all Nodes in the latest version
Return type:list of AbstractAsset
getProjectInfo()[source]

this will add itself to the allAssets dictionary ‘

initializeProject()[source]

this method checks for the existence of the project-table. If there is none, it will create one. if there is one it will load all assets in the allAssets instance variable by calling the findAssets method

User

class pipeLion.assets.user.User(name, project='user', id=None)[source]

User is derived by DataElement and defines a Node which holds information about users.

Users can be version-controled and assigned to multiple AbstractAsset-Nodes

addBlockedDay(year, month, day)[source]

method will add a day to the blocked_days list, which will indicate the days at which this user is unavailable for project-work

Parameters:
  • year (int) – the year
  • month (int) – the month
  • day (int) – the day
assign(asset)[source]

method assigns this Node to an AbstractAsset node

Returns:assetList
Return type:list of baseIds
deassign(asset)[source]

method deassigns an AbstractAsset from this User

Returns:assetList
Return type:list of baseIds
getAllTasks()[source]

method will return a list with all task objects assigned to the current user.

Returns:all tasks of a user
Return type:list of AbstractAsset
getBlockedDays(project=None)[source]

will return a list of datetime objects, with all blocked dates in it. if given a project, it will be taken to account, wether the projects supports weekend-work or not

Parameters:project (Project) – the project which should be added to the list
Returns:a list of datetime.date objects, indicating the days at which this user is blocked from all project work
Return type:list
getTasksOfDate(date, allTasks=None)[source]

method is a wrapper around getAllTasks. it filters all tasks, which are scheduled at the given date.

Parameters:date (QDate) – current date
Returns:all tasks of a user
Return type:list of AbstractAsset

other subclasses:

Animation

class pipeLion.assets.animation.Animation(name, project, id=None)[source]

Blocking

class pipeLion.assets.blocking.Blocking(name, project, id=None)[source]

CleanUp

class pipeLion.assets.cleanUp.CleanUp(name, project, id=None)[source]

Coloring

class pipeLion.assets.coloring.Coloring(name, project, id=None)[source]

Compositing

class pipeLion.assets.compositing.Compositing(name, project, id=None)[source]

Design

class pipeLion.assets.design.Design(name, project, id=None)[source]

Keying

class pipeLion.assets.keying.Keying(name, project, id=None)[source]

Light

class pipeLion.assets.light.Light(name, project, id=None)[source]

Modeling

class pipeLion.assets.modeling.Modeling(name, project, id=None)[source]

Painting

class pipeLion.assets.painting.Painting(name, project, id=None)[source]

Rendering

class pipeLion.assets.rendering.Rendering(name, project, id=None)[source]

Retouch

class pipeLion.assets.retouch.Retouch(name, project, id=None)[source]

Sequence

class pipeLion.assets.sequence.Sequence(name, project, id=None)[source]

Shot

class pipeLion.assets.shot.Shot(name, project, id=None)[source]

Tracking

class pipeLion.assets.tracking.Tracking(name, project, id=None)[source]

Table Of Contents

Previous topic

assets

Next topic

connections

This Page