Entity Hub: Refactor get children to work with added entity types support

オープン
#198 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@iLLiCiTiT がすでに取り組んでいます。

2024年10月28日 から。

評価

この issue はまだ評価されていません。

説明

Is there an existing issue for this?
  • I have searched the existing issues.
Please describe the feature you have in mind and explain what the current shortcomings are?

Current implementation of childrens logic in EntityHub works only for folders and tasks, that does not include products and versions.

How would you imagine the implementation of the feature?

First of all it should be possible to get children of products.

Second issue is that it should be possible to get products as children of folders, but becuase the current logic counts only with folders it is not that easy. When currently available methods are called we should also fetch products with other folders and tasks. But we should add more targetted methods to get only folders, or only products or only tasks, and fetch them and cache their entities respectivelly, so when folder already has known folder entities, but get_children is called we should also look for tasks and products.

Another question is if tasks should option to have version entities as children, because the connection is there we might add it.

Are there any labels you wish to add?
  • I have added the relevant labels to the enhancement request.
Describe alternatives you've considered:

No response

Additional context:

No response

主要言語
Python
スター
16
フォーク
15
平均マージ
1日 9時間
マージ済み PR(30日)
10

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ynput/ayon-python-api のほかの issue

ynput/ayon-python-api の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。