Commit graph

41 commits

Author SHA1 Message Date
Jakub Trllo
340c20e64c fix line length 2022-07-18 10:43:20 +02:00
Jakub Trllo
44611981d4 modified return types in docstrings 2022-07-18 10:37:16 +02:00
Jakub Trllo
971aef4342 Removed query list from python file 2022-07-18 10:35:56 +02:00
Jakub Trllo
114088fe84
Merge pull request #3454 from pypeclub/feature/OP-3506_Use-query-functions-in-openpype-lib
General: Use query functions in openpype lib functions
2022-07-11 11:52:27 +02:00
Jakub Trllo
c946b20450 Merge branch 'develop' into feature/OP-3515_Use-query-functions-in-global-plugins 2022-07-04 16:56:38 +02:00
Jakub Trllo
24305ca803 Merge branch 'develop' into feature/OP-3506_Use-query-functions-in-openpype-lib 2022-07-04 16:51:07 +02:00
Jakub Trllo
d1e7ae25d4 added function to receive archived representations 2022-07-01 11:35:44 +02:00
Jakub Trllo
de4147ef93 get last version does not do double query if only _id, name or parent are requested 2022-07-01 10:49:06 +02:00
Jakub Trllo
7dc7bde293 subset documents can be queried based on combination of asset id and subset names 2022-07-01 10:48:33 +02:00
Jakub Trllo
bdff4d5eb0 modified docstring 2022-06-30 17:05:13 +02:00
Jakub Trllo
cb62b17571 added ability to receive all project documents 2022-06-30 16:29:54 +02:00
Jakub Trllo
e147cd4132 added 'get_workfile_info' to openpype.client which replace 'get_workfile_doc' in openpype.lib 2022-06-30 16:04:25 +02:00
Jakub Trllo
63f5ea427a make sure output of get_representations_parents always returns values for passed repre ids 2022-06-30 11:50:40 +02:00
Jakub Trllo
2527ac0372 make sure _get_project_connection has project name passed 2022-06-30 11:47:32 +02:00
Jakub Trllo
4450d3e737 add parent_ids to possible query filters 2022-06-28 12:44:24 +02:00
Jakub Trllo
6d4f05e3da added ability to pass asset name to 'get_last_version_by_subset_name' 2022-06-22 14:12:05 +02:00
Jakub Trllo
ef84e7fda1 Merge branch 'develop' into feature/OP-3407_Use-query-functions-in-ftrack 2022-06-20 11:37:07 +02:00
Jakub Trllo
67532139b9 changed variable name to required_fields 2022-06-15 16:05:00 +02:00
Jakub Trllo
c25cb9e1f5 fixed missing "parent" in fields 2022-06-15 16:03:02 +02:00
Jakub Trllo
177be6880f added versions argument to get_versions 2022-06-14 14:34:31 +02:00
Jakub Trllo
d4e78369f0 added new function to retrieve only archived assets 2022-06-14 14:03:12 +02:00
Jakub Trllo
cd6c37ece9 added remaining custom mongo calls 2022-06-13 16:06:57 +02:00
Jakub Trllo
956ad8299b mapped lib 2022-06-10 15:19:18 +02:00
Jakub Trllo
22372361eb added pipeline queries 2022-06-10 15:12:50 +02:00
Jakub Trllo
0ea1032a61 added global plugins 2022-06-10 15:06:30 +02:00
Jakub Trllo
51fb0385f8 mapped hosts queries 2022-06-10 12:16:31 +02:00
Jakub Trllo
2df00d5cae remove site name check in representations widget 2022-06-09 11:38:43 +02:00
Jakub Trllo
6fcf872237 fix get_last_version 2022-06-08 19:20:53 +02:00
Jakub Trllo
125af17c22 updated usages 2022-06-07 18:47:47 +02:00
Jakub Trllo
0ce3045ad0 added missing docstrings 2022-06-07 18:47:42 +02:00
Jakub Trllo
aa91db6883 added docstring for get_representations 2022-06-07 18:36:54 +02:00
Jakub Trllo
cde47eefa8 renamed 'get_representation' to 'get_representation_by_id' 2022-06-07 18:27:54 +02:00
Jakub Trllo
ba6ef6d2ae split 'get_last_version_for_subset' into 'get_last_version_by_subset_id' and 'get_last_version_by_subset_name' 2022-06-07 18:23:44 +02:00
Jakub Trllo
675da63f8c split 'get_hero_version' to 'get_hero_version_by_id' and 'get_hero_version_by_subset_id' 2022-06-07 18:04:04 +02:00
Jakub Trllo
0f95a66359 renamed get_version_links to get_output_link_versions 2022-06-07 17:43:44 +02:00
Jakub Trllo
0d5cc529d5 renamed 'get_version' to 'get_version_by_id' 2022-06-07 17:18:21 +02:00
Jakub Trllo
9456dac8b9 separated function get_subset into 2 separated functions 2022-06-07 16:44:26 +02:00
Jakub Trllo
20ecefa4aa added docstrings for asset queries 2022-06-07 16:43:07 +02:00
Jakub Trllo
0d38c76f54 separated functions to query asset by name and id 2022-06-07 16:28:53 +02:00
Jakub Trllo
9829410932 implemented get_representation_parents for single representation 2022-06-07 15:16:39 +02:00
Jakub Trllo
5526435e41 initial commit of client entities functions 2022-06-04 21:07:49 +02:00