Skip to content

Commit efb118d

Browse files
authored
Merge branch 'develop' into feature/add-support-for-representation-traits
2 parents 24f2791 + da7837d commit efb118d

File tree

3 files changed

+9
-17
lines changed

3 files changed

+9
-17
lines changed

ayon_api/operations.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1193,7 +1193,10 @@ def update_product(
11931193
update_data[key] = value
11941194

11951195
return self.update_entity(
1196-
project_name, "product", update_data
1196+
project_name,
1197+
"product",
1198+
product_id,
1199+
update_data
11971200
)
11981201

11991202
def delete_product(self, project_name, product_id):
@@ -1468,7 +1471,10 @@ def update_representation(
14681471
update_data[key] = value
14691472

14701473
return self.update_entity(
1471-
project_name, "representation", update_data
1474+
project_name,
1475+
"representation",
1476+
representation_id,
1477+
update_data
14721478
)
14731479

14741480
def delete_representation(self, project_name, representation_id):

poetry.lock

Lines changed: 1 addition & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ classifiers = [
1616
dependencies = [
1717
"requests >= 2.27.1",
1818
"Unidecode >= 1.3.0",
19-
"appdirs >=1, <2",
2019
]
2120

2221
[project.urls]
@@ -42,7 +41,6 @@ packages = [
4241
python = ">=3.6.5"
4342
requests = "^2.27"
4443
Unidecode = "^1.3"
45-
appdirs = "^1.4"
4644

4745
[tool.poetry.group.dev.dependencies]
4846
sphinx = "*"

0 commit comments

Comments
 (0)