This class allows Files to be queried, updated, and deleted from the project data.
More...
|
def | absolute_path |
| Get absolute file path of file. More...
|
|
def | delete |
| Delete the object from the project data store. More...
|
|
def | filter |
| Take any arguments given as filters, and find a list of matching objects. More...
|
|
def | get |
| Take any arguments given as filters, and find the first matching object. More...
|
|
def | relative_path |
| Get relative path (based on the current working directory) More...
|
|
def | save |
| Save the object back to the project data store. More...
|
|
def | __init__ |
| Constructor. More...
|
|
def | delete |
| Delete the object from the project data store. More...
|
|
def | filter |
| Take any arguments given as filters, and find a list of matching objects. More...
|
|
def | get |
| Take any arguments given as filters, and find the first matching object. More...
|
|
def | save |
| Save the object back to the project data store. More...
|
|
def | title |
| Get the translated display title of this item. More...
|
|
This class allows Files to be queried, updated, and deleted from the project data.
Definition at line 236 of file query.py.
def query.File.absolute_path |
( |
|
self | ) |
|
Get absolute file path of file.
Definition at line 262 of file query.py.
def query.File.delete |
( |
|
self | ) |
|
Delete the object from the project data store.
Definition at line 247 of file query.py.
def query.File.filter |
( |
|
kwargs | ) |
|
Take any arguments given as filters, and find a list of matching objects.
Definition at line 252 of file query.py.
def query.File.get |
( |
|
kwargs | ) |
|
Take any arguments given as filters, and find the first matching object.
Definition at line 257 of file query.py.
def query.File.relative_path |
( |
|
self | ) |
|
Get relative path (based on the current working directory)
Definition at line 279 of file query.py.
def query.File.save |
( |
|
self | ) |
|
Save the object back to the project data store.
Definition at line 242 of file query.py.
string query.File.object_name = "files" |
|
static |
The documentation for this class was generated from the following file: