Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

General: Define query functions #3288

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
5526435
initial commit of client entities functions
iLLiCiTiT Jun 4, 2022
7109d93
replace queries in tools
iLLiCiTiT Jun 4, 2022
9829410
implemented get_representation_parents for single representation
iLLiCiTiT Jun 7, 2022
0d38c76
separated functions to query asset by name and id
iLLiCiTiT Jun 7, 2022
20ecefa
added docstrings for asset queries
iLLiCiTiT Jun 7, 2022
9456dac
separated function get_subset into 2 separated functions
iLLiCiTiT Jun 7, 2022
0d5cc52
renamed 'get_version' to 'get_version_by_id'
iLLiCiTiT Jun 7, 2022
0f95a66
renamed get_version_links to get_output_link_versions
iLLiCiTiT Jun 7, 2022
675da63
split 'get_hero_version' to 'get_hero_version_by_id' and 'get_hero_ve…
iLLiCiTiT Jun 7, 2022
ba6ef6d
split 'get_last_version_for_subset' into 'get_last_version_by_subset_…
iLLiCiTiT Jun 7, 2022
cde47ee
renamed 'get_representation' to 'get_representation_by_id'
iLLiCiTiT Jun 7, 2022
aa91db6
added docstring for get_representations
iLLiCiTiT Jun 7, 2022
7d13ba2
added missing functions to legacy_io and mongodb
iLLiCiTiT Jun 7, 2022
0ce3045
added missing docstrings
iLLiCiTiT Jun 7, 2022
125af17
updated usages
iLLiCiTiT Jun 7, 2022
e4cee4a
fix loader
iLLiCiTiT Jun 8, 2022
1cea16b
fix launcher
iLLiCiTiT Jun 8, 2022
6fcf872
fix get_last_version
iLLiCiTiT Jun 8, 2022
76be40b
Merge branch 'develop' into feature/OP-3292_Map-where-database-querie…
iLLiCiTiT Jun 9, 2022
6b9a1b8
convert queried cursor to list in scene inventory
iLLiCiTiT Jun 9, 2022
39ea438
fix typo in passed kwarg
iLLiCiTiT Jun 9, 2022
a48d77e
conver repres cursor to list
iLLiCiTiT Jun 9, 2022
bae1e38
fix kwargs name in switch dialog
iLLiCiTiT Jun 9, 2022
57e72c2
minor changesminor changes in representation widget
iLLiCiTiT Jun 9, 2022
de2fb5d
convert cursor of representations to list
iLLiCiTiT Jun 9, 2022
2df00d5
remove site name check in representations widget
iLLiCiTiT Jun 9, 2022
483ca9b
fix args order
iLLiCiTiT Jun 9, 2022
a63e559
fixed asset links widget
iLLiCiTiT Jun 9, 2022
51fb038
mapped hosts queries
iLLiCiTiT Jun 10, 2022
d9b79f5
Merge branch 'develop' into feature/OP-3292_Map-where-database-querie…
iLLiCiTiT Jun 10, 2022
0ea1032
added global plugins
iLLiCiTiT Jun 10, 2022
2237236
added pipeline queries
iLLiCiTiT Jun 10, 2022
956ad82
mapped lib
iLLiCiTiT Jun 10, 2022
27b8f77
fix scene inventory
iLLiCiTiT Jun 13, 2022
cd6c37e
added remaining custom mongo calls
iLLiCiTiT Jun 13, 2022
153491f
Merge branch 'develop' into feature/OP-3292_Map-where-database-querie…
iLLiCiTiT Jun 13, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 71 additions & 0 deletions openpype/client/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
from .entities import (
get_projects,
get_project,

get_asset_by_id,
get_asset_by_name,
get_assets,
get_asset_ids_with_subsets,

get_subset_by_id,
get_subset_by_name,
get_subsets,
get_subset_families,

get_version_by_id,
get_version_by_name,
get_versions,
get_hero_version_by_id,
get_hero_version_by_subset_id,
get_hero_versions,
get_last_versions,
get_last_version_by_subset_id,
get_last_version_by_subset_name,
get_output_link_versions,

get_representation_by_id,
get_representation_by_name,
get_representations,
get_representation_parents,
get_representations_parents,

get_thumbnail,
get_thumbnails,
get_thumbnail_id_from_source,
)

__all__ = (
"get_projects",
"get_project",

"get_asset_by_id",
"get_asset_by_name",
"get_assets",
"get_asset_ids_with_subsets",

"get_subset_by_id",
"get_subset_by_name",
"get_subsets",
"get_subset_families",

"get_version_by_id",
"get_version_by_name",
"get_versions",
"get_hero_version_by_id",
"get_hero_version_by_subset_id",
"get_hero_versions",
"get_last_versions",
"get_last_version_by_subset_id",
"get_last_version_by_subset_name",
"get_output_link_versions",

"get_representation_by_id",
"get_representation_by_name",
"get_representations",
"get_representation_parents",
"get_representations_parents",

"get_thumbnail",
"get_thumbnails",
"get_thumbnail_id_from_source",
)
Loading