-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
アノテーション仕様の標準プラグインに関するEnumを追加しました。 (#520)
* プラグイン関係のEnumを定義 * type hintの修正 * ドキュメント更新 * readthedocsのpip更新 * version up * format * version up * エディタプラグインの定義 * version up
- Loading branch information
1 parent
d5ea566
commit 6db5d1c
Showing
13 changed files
with
76 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.65.0" | ||
__version__ = "0.67.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
"""プラグイン関係""" | ||
|
||
from enum import Enum | ||
|
||
|
||
class EditorPluginId(Enum): | ||
""" | ||
アノテーションエディタの標準(ビルトイン)プラグインのID | ||
""" | ||
|
||
THREE_DIMENSION = "bdc16348-107e-4fbc-af4a-e482bc84a60f" | ||
""" | ||
3次元アノテーションエディタの標準プラグインのID | ||
"af-default-annotation-editor-plugin-for-3d-editor" | ||
(Annofab本番環境/開発環境でIDは同じ) | ||
""" | ||
|
||
|
||
class ExtendSpecsPluginId(Enum): | ||
""" | ||
アノテーション仕様の拡張プラグインのID | ||
""" | ||
|
||
THREE_DIMENSION = "703ababa-96ac-4920-8afb-d4f2bddac7e3" | ||
""" | ||
3次元プロジェクトのアノテーション仕様を定義した標準プラグインのID | ||
"af-default-extended-spec-plugin-for-3d-editor" | ||
(Annofab本番環境/開発環境でIDは同じ) | ||
""" | ||
|
||
|
||
class ThreeDimensionAnnotationType(Enum): | ||
""" | ||
3次元アノテーションの種類(アノテーション種類の標準プラグインで定義されている) | ||
""" | ||
|
||
BOUNDING_BOX = "user_bounding_box" | ||
"""バウンディングボックス""" | ||
INSTANCE_SEGMENT = "user_instance_segment" | ||
"""インスタンスセグメント""" | ||
SEMANTIC_SEGMENT = "user_semantic_segment" | ||
"""セマンティックセグメント""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ API reference | |
resource | ||
utils | ||
parser | ||
plugin | ||
models | ||
dataclass | ||
exceptions | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
annofabapi.plugin module | ||
========================== | ||
|
||
|
||
|
||
.. automodule:: annofabapi.plugin | ||
:members: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
sphinx==4.0.2 | ||
pydata-sphinx-theme==0.6.3 | ||
sphinx==5.3.0 | ||
pydata-sphinx-theme==0.11.0 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters