Skip to content

Commit

Permalink
Fix: Failed to parse the RNA enums data type
Browse files Browse the repository at this point in the history
  • Loading branch information
nutti committed Jan 2, 2025
1 parent 5ef7ec0 commit 611a7f2
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,15 @@
<data-type-list>
<data-type>
method_2 arg_2 type
<argument argument_type="arg">
<name>
arg_3
<description>
Enumerator in `rna_enum_example`.
<default-value>
<data-type-list>
<data-type>
set[str]
<return>
<description>
<data-type-list>
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,18 @@
<data-type>
<enum-ref>
bpy.typing.Example
<argument argument_type="arg">
<name>
arg_3
<description>
Enumerator in `rna_enum_example`.
<default-value>
<data-type-list>
<data-type>
set[
<enum-ref>
bpy.typing.Example
]
<return>
<description>
<data-type-list>
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@

:return: An instance of this object.

.. method:: method_2(arg_1, arg_2)
.. method:: method_2(arg_1, arg_2, arg_3)

:arg arg_1: Enumerator in :ref:`rna_enum_example`.
:type arg_1: set
:arg arg_2: job type in :ref:`rna_enum_example`.
:type arg_2: method_2 arg_2 type
:arg arg_3: Enumerator in :ref:`rna_enum_example`.
:type arg_3: set[str]

0 comments on commit 611a7f2

Please sign in to comment.