fake-bpy-module 20241009__py3-none-any.whl → 20241010__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of fake-bpy-module might be problematic. Click here for more details.

bl_ui/__init__.pyi CHANGED
@@ -20,7 +20,6 @@ from . import properties_data_camera as properties_data_camera
20
20
  from . import properties_data_curve as properties_data_curve
21
21
  from . import properties_data_curves as properties_data_curves
22
22
  from . import properties_data_empty as properties_data_empty
23
- from . import properties_data_gpencil as properties_data_gpencil
24
23
  from . import properties_data_grease_pencil as properties_data_grease_pencil
25
24
  from . import properties_data_lattice as properties_data_lattice
26
25
  from . import properties_data_light as properties_data_light
bmesh/types/__init__.pyi CHANGED
@@ -735,29 +735,17 @@ class BMIter[_GenericType1]:
735
735
  class BMLayerAccessEdge:
736
736
  """Exposes custom-data layer attributes."""
737
737
 
738
- color: BMLayerCollection
739
- """ Generic RGBA color with 8-bit precision custom-data layer.
738
+ color: typing.Any
739
+ """ Generic RGBA color with 8-bit precision custom-data layer."""
740
740
 
741
- :type: BMLayerCollection
742
- """
743
-
744
- float: BMLayerCollection
745
- """ Generic float custom-data layer.
741
+ float: typing.Any
742
+ """ Generic float custom-data layer."""
746
743
 
747
- :type: BMLayerCollection
748
- """
744
+ float_color: typing.Any
745
+ """ Generic RGBA color with float precision custom-data layer."""
749
746
 
750
- float_color: BMLayerCollection
751
- """ Generic RGBA color with float precision custom-data layer.
752
-
753
- :type: BMLayerCollection
754
- """
755
-
756
- float_vector: BMLayerCollection
757
- """ Generic 3D vector with float precision custom-data layer.
758
-
759
- :type: BMLayerCollection
760
- """
747
+ float_vector: typing.Any
748
+ """ Generic 3D vector with float precision custom-data layer."""
761
749
 
762
750
  freestyle: BMLayerCollection
763
751
  """ Accessor for Freestyle edge layer.
@@ -765,44 +753,26 @@ class BMLayerAccessEdge:
765
753
  :type: BMLayerCollection
766
754
  """
767
755
 
768
- int: BMLayerCollection
769
- """ Generic int custom-data layer.
770
-
771
- :type: BMLayerCollection
772
- """
773
-
774
- string: BMLayerCollection
775
- """ Generic string custom-data layer (exposed as bytes, 255 max length).
756
+ int: typing.Any
757
+ """ Generic int custom-data layer."""
776
758
 
777
- :type: BMLayerCollection
778
- """
759
+ string: typing.Any
760
+ """ Generic string custom-data layer (exposed as bytes, 255 max length)."""
779
761
 
780
762
  class BMLayerAccessFace:
781
763
  """Exposes custom-data layer attributes."""
782
764
 
783
- color: BMLayerCollection
784
- """ Generic RGBA color with 8-bit precision custom-data layer.
785
-
786
- :type: BMLayerCollection
787
- """
788
-
789
- float: BMLayerCollection
790
- """ Generic float custom-data layer.
791
-
792
- :type: BMLayerCollection
793
- """
765
+ color: typing.Any
766
+ """ Generic RGBA color with 8-bit precision custom-data layer."""
794
767
 
795
- float_color: BMLayerCollection
796
- """ Generic RGBA color with float precision custom-data layer.
768
+ float: typing.Any
769
+ """ Generic float custom-data layer."""
797
770
 
798
- :type: BMLayerCollection
799
- """
771
+ float_color: typing.Any
772
+ """ Generic RGBA color with float precision custom-data layer."""
800
773
 
801
- float_vector: BMLayerCollection
802
- """ Generic 3D vector with float precision custom-data layer.
803
-
804
- :type: BMLayerCollection
805
- """
774
+ float_vector: typing.Any
775
+ """ Generic 3D vector with float precision custom-data layer."""
806
776
 
807
777
  freestyle: BMLayerCollection
808
778
  """ Accessor for Freestyle face layer.
@@ -810,119 +780,65 @@ class BMLayerAccessFace:
810
780
  :type: BMLayerCollection
811
781
  """
812
782
 
813
- int: BMLayerCollection
814
- """ Generic int custom-data layer.
783
+ int: typing.Any
784
+ """ Generic int custom-data layer."""
815
785
 
816
- :type: BMLayerCollection
817
- """
818
-
819
- string: BMLayerCollection
820
- """ Generic string custom-data layer (exposed as bytes, 255 max length).
821
-
822
- :type: BMLayerCollection
823
- """
786
+ string: typing.Any
787
+ """ Generic string custom-data layer (exposed as bytes, 255 max length)."""
824
788
 
825
789
  class BMLayerAccessLoop:
826
790
  """Exposes custom-data layer attributes."""
827
791
 
828
- color: BMLayerCollection
829
- """ Generic RGBA color with 8-bit precision custom-data layer.
830
-
831
- :type: BMLayerCollection
832
- """
833
-
834
- float: BMLayerCollection
835
- """ Generic float custom-data layer.
836
-
837
- :type: BMLayerCollection
838
- """
839
-
840
- float_color: BMLayerCollection
841
- """ Generic RGBA color with float precision custom-data layer.
792
+ color: typing.Any
793
+ """ Generic RGBA color with 8-bit precision custom-data layer."""
842
794
 
843
- :type: BMLayerCollection
844
- """
795
+ float: typing.Any
796
+ """ Generic float custom-data layer."""
845
797
 
846
- float_vector: BMLayerCollection
847
- """ Generic 3D vector with float precision custom-data layer.
798
+ float_color: typing.Any
799
+ """ Generic RGBA color with float precision custom-data layer."""
848
800
 
849
- :type: BMLayerCollection
850
- """
801
+ float_vector: typing.Any
802
+ """ Generic 3D vector with float precision custom-data layer."""
851
803
 
852
- int: BMLayerCollection
853
- """ Generic int custom-data layer.
804
+ int: typing.Any
805
+ """ Generic int custom-data layer."""
854
806
 
855
- :type: BMLayerCollection
856
- """
857
-
858
- string: BMLayerCollection
859
- """ Generic string custom-data layer (exposed as bytes, 255 max length).
807
+ string: typing.Any
808
+ """ Generic string custom-data layer (exposed as bytes, 255 max length)."""
860
809
 
861
- :type: BMLayerCollection
862
- """
863
-
864
- uv: BMLayerCollection
865
- """ Accessor for `BMLoopUV` UV (as a 2D Vector).
866
-
867
- :type: BMLayerCollection
868
- """
810
+ uv: typing.Any
811
+ """ Accessor for `BMLoopUV` UV (as a 2D Vector)."""
869
812
 
870
813
  class BMLayerAccessVert:
871
814
  """Exposes custom-data layer attributes."""
872
815
 
873
- color: BMLayerCollection
874
- """ Generic RGBA color with 8-bit precision custom-data layer.
875
-
876
- :type: BMLayerCollection
877
- """
878
-
879
- deform: BMLayerCollection
880
- """ Vertex deform weight `BMDeformVert` (TODO).
881
-
882
- :type: BMLayerCollection
883
- """
884
-
885
- float: BMLayerCollection
886
- """ Generic float custom-data layer.
816
+ color: typing.Any
817
+ """ Generic RGBA color with 8-bit precision custom-data layer."""
887
818
 
888
- :type: BMLayerCollection
889
- """
819
+ deform: typing.Any
820
+ """ Vertex deform weight `BMDeformVert` (TODO)."""
890
821
 
891
- float_color: BMLayerCollection
892
- """ Generic RGBA color with float precision custom-data layer.
822
+ float: typing.Any
823
+ """ Generic float custom-data layer."""
893
824
 
894
- :type: BMLayerCollection
895
- """
825
+ float_color: typing.Any
826
+ """ Generic RGBA color with float precision custom-data layer."""
896
827
 
897
- float_vector: BMLayerCollection
898
- """ Generic 3D vector with float precision custom-data layer.
828
+ float_vector: typing.Any
829
+ """ Generic 3D vector with float precision custom-data layer."""
899
830
 
900
- :type: BMLayerCollection
901
- """
902
-
903
- int: BMLayerCollection
904
- """ Generic int custom-data layer.
831
+ int: typing.Any
832
+ """ Generic int custom-data layer."""
905
833
 
906
- :type: BMLayerCollection
907
- """
834
+ shape: typing.Any
835
+ """ Vertex shapekey absolute location (as a 3D Vector)."""
908
836
 
909
- shape: BMLayerCollection
910
- """ Vertex shapekey absolute location (as a 3D Vector).
837
+ skin: typing.Any
838
+ """ Accessor for skin layer."""
911
839
 
912
- :type: BMLayerCollection
913
- """
914
-
915
- skin: BMLayerCollection
916
- """ Accessor for skin layer.
917
-
918
- :type: BMLayerCollection
919
- """
920
-
921
- string: BMLayerCollection
922
- """ Generic string custom-data layer (exposed as bytes, 255 max length).
923
-
924
- :type: BMLayerCollection
925
- """
840
+ string: typing.Any
841
+ """ Generic string custom-data layer (exposed as bytes, 255 max length)."""
926
842
 
927
843
  class BMLayerCollection[_GenericType2]:
928
844
  """Gives access to a collection of custom-data layers of the same type and behaves like Python dictionaries, except for the ability to do list like index access."""
bmesh/utils/__init__.pyi CHANGED
@@ -73,7 +73,9 @@ def face_split(
73
73
  :rtype: tuple[bmesh.types.BMFace, bmesh.types.BMLoop]
74
74
  """
75
75
 
76
- def face_split_edgenet(face: bmesh.types.BMFace, edgenet: bmesh.types.BMEdge):
76
+ def face_split_edgenet(
77
+ face: bmesh.types.BMFace, edgenet: bmesh.types.BMEdge
78
+ ) -> tuple[bmesh.types.BMFace, ...]:
77
79
  """Splits a face into any number of regions defined by an edgenet.
78
80
 
79
81
  :param face: The face to split.The face to split.
@@ -81,6 +83,7 @@ def face_split_edgenet(face: bmesh.types.BMFace, edgenet: bmesh.types.BMEdge):
81
83
  :param edgenet: Sequence of edges.
82
84
  :type edgenet: bmesh.types.BMEdge
83
85
  :return: The newly created faces.
86
+ :rtype: tuple[bmesh.types.BMFace, ...]
84
87
  """
85
88
 
86
89
  def face_vert_separate(
bpy/app/__init__.pyi CHANGED
@@ -14,6 +14,8 @@ bpy.app.timers.rst
14
14
  import typing
15
15
  import collections.abc
16
16
  import typing_extensions
17
+ import bpy.typing
18
+
17
19
  from . import handlers as handlers
18
20
  from . import icons as icons
19
21
  from . import timers as timers
@@ -26,11 +28,11 @@ def help_text(all: bool | None = False):
26
28
  :type all: bool | None
27
29
  """
28
30
 
29
- def is_job_running(job_type: str | None):
31
+ def is_job_running(job_type: bpy.typing.WmJobTypeItems):
30
32
  """Check whether a job of the given type is running.
31
33
 
32
34
  :param job_type: job type in `rna_enum_wm_job_type_items`.
33
- :type job_type: str | None
35
+ :type job_type: bpy.typing.WmJobTypeItems
34
36
  :return: Whether a job of the given type is currently running.
35
37
  """
36
38
 
bpy/ops/ui/__init__.pyi CHANGED
@@ -281,22 +281,6 @@ def eyedropper_driver(
281
281
  :type mapping_type: typing.Literal['SINGLE_MANY','DIRECT','MATCH','NONE_ALL','NONE_SINGLE'] | None
282
282
  """
283
283
 
284
- def eyedropper_gpencil_color(
285
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
286
- execution_context: int | str | None = None,
287
- undo: bool | None = None,
288
- *,
289
- mode: typing.Literal["MATERIAL", "PALETTE"] | None = "MATERIAL",
290
- ):
291
- """Sample a color from the Blender Window and create Grease Pencil material
292
-
293
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
294
- :type execution_context: int | str | None
295
- :type undo: bool | None
296
- :param mode: Mode
297
- :type mode: typing.Literal['MATERIAL','PALETTE'] | None
298
- """
299
-
300
284
  def eyedropper_grease_pencil_color(
301
285
  override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
302
286
  execution_context: int | str | None = None,
bpy/props/__init__.pyi CHANGED
@@ -91,6 +91,7 @@ import typing
91
91
  import collections.abc
92
92
  import typing_extensions
93
93
  import bpy.types
94
+ import bpy.typing
94
95
 
95
96
  def BoolProperty(
96
97
  *,
@@ -98,10 +99,10 @@ def BoolProperty(
98
99
  description: str | None = "",
99
100
  translation_context: str | None = "*",
100
101
  default=False,
101
- options: set | None = {"ANIMATABLE"},
102
- override: set | None = set(),
102
+ options: set[bpy.typing.PropertyFlagItems] = {"ANIMATABLE"},
103
+ override: set[bpy.typing.PropertyOverrideFlagItems] = set(),
103
104
  tags: set | None = set(),
104
- subtype: str | None = "NONE",
105
+ subtype: bpy.typing.PropertySubtypeNumberItems = "NONE",
105
106
  update: typing.Any | None = None,
106
107
  get: typing.Any | None = None,
107
108
  set: typing.Any | None = None,
@@ -115,13 +116,13 @@ def BoolProperty(
115
116
  :param translation_context: Text used as context to disambiguate translations.
116
117
  :type translation_context: str | None
117
118
  :param options: Enumerator in `rna_enum_property_flag_items`.
118
- :type options: set | None
119
+ :type options: set[bpy.typing.PropertyFlagItems]
119
120
  :param override: Enumerator in `rna_enum_property_override_flag_items`.
120
- :type override: set | None
121
+ :type override: set[bpy.typing.PropertyOverrideFlagItems]
121
122
  :param tags: Enumerator of tags that are defined by parent class.
122
123
  :type tags: set | None
123
124
  :param subtype: Enumerator in `rna_enum_property_subtype_number_items`.
124
- :type subtype: str | None
125
+ :type subtype: bpy.typing.PropertySubtypeNumberItems
125
126
  :param update: Function to be called when this value is modified,
126
127
  This function must take 2 values (self, context) and return None.
127
128
  Warning there are no safety checks to avoid infinite recursion.
@@ -140,10 +141,10 @@ def BoolVectorProperty(
140
141
  description: str | None = "",
141
142
  translation_context: str | None = "*",
142
143
  default: collections.abc.Sequence | None = (False, False, False),
143
- options: set | None = {"ANIMATABLE"},
144
- override: set | None = set(),
144
+ options: set[bpy.typing.PropertyFlagItems] = {"ANIMATABLE"},
145
+ override: set[bpy.typing.PropertyOverrideFlagItems] = set(),
145
146
  tags: set | None = set(),
146
- subtype: str | None = "NONE",
147
+ subtype: bpy.typing.PropertySubtypeNumberArrayItems = "NONE",
147
148
  size: collections.abc.Sequence[int] | int | None = 3,
148
149
  update: typing.Any | None = None,
149
150
  get: typing.Any | None = None,
@@ -160,13 +161,13 @@ def BoolVectorProperty(
160
161
  :param default: sequence of booleans the length of size.
161
162
  :type default: collections.abc.Sequence | None
162
163
  :param options: Enumerator in `rna_enum_property_flag_items`.
163
- :type options: set | None
164
+ :type options: set[bpy.typing.PropertyFlagItems]
164
165
  :param override: Enumerator in `rna_enum_property_override_flag_items`.
165
- :type override: set | None
166
+ :type override: set[bpy.typing.PropertyOverrideFlagItems]
166
167
  :param tags: Enumerator of tags that are defined by parent class.
167
168
  :type tags: set | None
168
169
  :param subtype: Enumerator in `rna_enum_property_subtype_number_array_items`.
169
- :type subtype: str | None
170
+ :type subtype: bpy.typing.PropertySubtypeNumberArrayItems
170
171
  :param size: Vector dimensions in [1, 32]. An int sequence can be used to define multi-dimension arrays.
171
172
  :type size: collections.abc.Sequence[int] | int | None
172
173
  :param update: Function to be called when this value is modified,
@@ -187,8 +188,8 @@ def CollectionProperty(
187
188
  name: str | None = "",
188
189
  description: str | None = "",
189
190
  translation_context: str | None = "*",
190
- options: set | None = {"ANIMATABLE"},
191
- override: set | None = set(),
191
+ options: set[bpy.typing.PropertyFlagItems] = {"ANIMATABLE"},
192
+ override: set[bpy.typing.PropertyOverrideFlagCollectionItems] = set(),
192
193
  tags: set | None = set(),
193
194
  ):
194
195
  """Returns a new collection property definition.
@@ -201,9 +202,9 @@ def CollectionProperty(
201
202
  :param translation_context: Text used as context to disambiguate translations.
202
203
  :type translation_context: str | None
203
204
  :param options: Enumerator in `rna_enum_property_flag_items`.
204
- :type options: set | None
205
+ :type options: set[bpy.typing.PropertyFlagItems]
205
206
  :param override: Enumerator in `rna_enum_property_override_flag_collection_items`.
206
- :type override: set | None
207
+ :type override: set[bpy.typing.PropertyOverrideFlagCollectionItems]
207
208
  :param tags: Enumerator of tags that are defined by parent class.
208
209
  :type tags: set | None
209
210
  """
@@ -229,8 +230,8 @@ def EnumProperty(
229
230
  description: str | None = "",
230
231
  translation_context: str | None = "*",
231
232
  default: int | set | str | None = None,
232
- options: set | None = {"ANIMATABLE"},
233
- override: set | None = set(),
233
+ options: set[bpy.typing.PropertyFlagEnumItems] = {"ANIMATABLE"},
234
+ override: set[bpy.typing.PropertyOverrideFlagItems] = set(),
234
235
  tags: set | None = set(),
235
236
  update: typing.Any | None = None,
236
237
  get: typing.Any | None = None,
@@ -289,9 +290,9 @@ def EnumProperty(
289
290
  (i.e. if a callback function is given as items parameter).
290
291
  :type default: int | set | str | None
291
292
  :param options: Enumerator in `rna_enum_property_flag_enum_items`.
292
- :type options: set | None
293
+ :type options: set[bpy.typing.PropertyFlagEnumItems]
293
294
  :param override: Enumerator in `rna_enum_property_override_flag_items`.
294
- :type override: set | None
295
+ :type override: set[bpy.typing.PropertyOverrideFlagItems]
295
296
  :param tags: Enumerator of tags that are defined by parent class.
296
297
  :type tags: set | None
297
298
  :param update: Function to be called when this value is modified,
@@ -318,11 +319,11 @@ def FloatProperty(
318
319
  soft_max: float | None = 3.402823e38,
319
320
  step: int | None = 3,
320
321
  precision: int | None = 2,
321
- options: set | None = {"ANIMATABLE"},
322
- override: set | None = set(),
322
+ options: set[bpy.typing.PropertyFlagItems] = {"ANIMATABLE"},
323
+ override: set[bpy.typing.PropertyOverrideFlagItems] = set(),
323
324
  tags: set | None = set(),
324
- subtype: str | None = "NONE",
325
- unit: str | None = "NONE",
325
+ subtype: bpy.typing.PropertySubtypeNumberItems = "NONE",
326
+ unit: bpy.typing.PropertyUnitItems = "NONE",
326
327
  update: typing.Any | None = None,
327
328
  get: typing.Any | None = None,
328
329
  set: typing.Any | None = None,
@@ -348,15 +349,15 @@ def FloatProperty(
348
349
  :param precision: Maximum number of decimal digits to display, in [0, 6]. Fraction is automatically hidden for exact integer values of fields with unit 'NONE' or 'TIME' (frame count) and step divisible by 100.
349
350
  :type precision: int | None
350
351
  :param options: Enumerator in `rna_enum_property_flag_items`.
351
- :type options: set | None
352
+ :type options: set[bpy.typing.PropertyFlagItems]
352
353
  :param override: Enumerator in `rna_enum_property_override_flag_items`.
353
- :type override: set | None
354
+ :type override: set[bpy.typing.PropertyOverrideFlagItems]
354
355
  :param tags: Enumerator of tags that are defined by parent class.
355
356
  :type tags: set | None
356
357
  :param subtype: Enumerator in `rna_enum_property_subtype_number_items`.
357
- :type subtype: str | None
358
+ :type subtype: bpy.typing.PropertySubtypeNumberItems
358
359
  :param unit: Enumerator in `rna_enum_property_unit_items`.
359
- :type unit: str | None
360
+ :type unit: bpy.typing.PropertyUnitItems
360
361
  :param update: Function to be called when this value is modified,
361
362
  This function must take 2 values (self, context) and return None.
362
363
  Warning there are no safety checks to avoid infinite recursion.
@@ -381,11 +382,11 @@ def FloatVectorProperty(
381
382
  soft_max: float | None = sys.float_info.max,
382
383
  step: int | None = 3,
383
384
  precision: int | None = 2,
384
- options: set | None = {"ANIMATABLE"},
385
- override: set | None = set(),
385
+ options: set[bpy.typing.PropertyFlagItems] = {"ANIMATABLE"},
386
+ override: set[bpy.typing.PropertyOverrideFlagItems] = set(),
386
387
  tags: set | None = set(),
387
- subtype: str | None = "NONE",
388
- unit: str | None = "NONE",
388
+ subtype: bpy.typing.PropertySubtypeNumberArrayItems = "NONE",
389
+ unit: bpy.typing.PropertyUnitItems = "NONE",
389
390
  size: collections.abc.Sequence[int] | int | None = 3,
390
391
  update: typing.Any | None = None,
391
392
  get: typing.Any | None = None,
@@ -414,15 +415,15 @@ def FloatVectorProperty(
414
415
  :param precision: Maximum number of decimal digits to display, in [0, 6]. Fraction is automatically hidden for exact integer values of fields with unit 'NONE' or 'TIME' (frame count) and step divisible by 100.
415
416
  :type precision: int | None
416
417
  :param options: Enumerator in `rna_enum_property_flag_items`.
417
- :type options: set | None
418
+ :type options: set[bpy.typing.PropertyFlagItems]
418
419
  :param override: Enumerator in `rna_enum_property_override_flag_items`.
419
- :type override: set | None
420
+ :type override: set[bpy.typing.PropertyOverrideFlagItems]
420
421
  :param tags: Enumerator of tags that are defined by parent class.
421
422
  :type tags: set | None
422
423
  :param subtype: Enumerator in `rna_enum_property_subtype_number_array_items`.
423
- :type subtype: str | None
424
+ :type subtype: bpy.typing.PropertySubtypeNumberArrayItems
424
425
  :param unit: Enumerator in `rna_enum_property_unit_items`.
425
- :type unit: str | None
426
+ :type unit: bpy.typing.PropertyUnitItems
426
427
  :param size: Vector dimensions in [1, 32]. An int sequence can be used to define multi-dimension arrays.
427
428
  :type size: collections.abc.Sequence[int] | int | None
428
429
  :param update: Function to be called when this value is modified,
@@ -448,10 +449,10 @@ def IntProperty(
448
449
  soft_min: int | None = None,
449
450
  soft_max: int | None = None,
450
451
  step: int | None = 1,
451
- options: set | None = {"ANIMATABLE"},
452
- override: set | None = set(),
452
+ options: set[bpy.typing.PropertyFlagItems] = {"ANIMATABLE"},
453
+ override: set[bpy.typing.PropertyOverrideFlagItems] = set(),
453
454
  tags: set | None = set(),
454
- subtype: str | None = "NONE",
455
+ subtype: bpy.typing.PropertySubtypeNumberItems = "NONE",
455
456
  update: typing.Any | None = None,
456
457
  get: typing.Any | None = None,
457
458
  set: typing.Any | None = None,
@@ -475,13 +476,13 @@ def IntProperty(
475
476
  :param step: Step of increment/decrement in UI, in [1, 100], defaults to 1 (WARNING: unused currently!).
476
477
  :type step: int | None
477
478
  :param options: Enumerator in `rna_enum_property_flag_items`.
478
- :type options: set | None
479
+ :type options: set[bpy.typing.PropertyFlagItems]
479
480
  :param override: Enumerator in `rna_enum_property_override_flag_items`.
480
- :type override: set | None
481
+ :type override: set[bpy.typing.PropertyOverrideFlagItems]
481
482
  :param tags: Enumerator of tags that are defined by parent class.
482
483
  :type tags: set | None
483
484
  :param subtype: Enumerator in `rna_enum_property_subtype_number_items`.
484
- :type subtype: str | None
485
+ :type subtype: bpy.typing.PropertySubtypeNumberItems
485
486
  :param update: Function to be called when this value is modified,
486
487
  This function must take 2 values (self, context) and return None.
487
488
  Warning there are no safety checks to avoid infinite recursion.
@@ -505,10 +506,10 @@ def IntVectorProperty(
505
506
  soft_min: int | None = None,
506
507
  soft_max: int | None = None,
507
508
  step: int | None = 1,
508
- options: set | None = {"ANIMATABLE"},
509
- override: set | None = set(),
509
+ options: set[bpy.typing.PropertyFlagItems] = {"ANIMATABLE"},
510
+ override: set[bpy.typing.PropertyOverrideFlagItems] = set(),
510
511
  tags: set | None = set(),
511
- subtype: str | None = "NONE",
512
+ subtype: bpy.typing.PropertySubtypeNumberArrayItems = "NONE",
512
513
  size: collections.abc.Sequence[int] | int | None = 3,
513
514
  update: typing.Any | None = None,
514
515
  get: typing.Any | None = None,
@@ -535,13 +536,13 @@ def IntVectorProperty(
535
536
  :param step: Step of increment/decrement in UI, in [1, 100], defaults to 1 (WARNING: unused currently!).
536
537
  :type step: int | None
537
538
  :param options: Enumerator in `rna_enum_property_flag_items`.
538
- :type options: set | None
539
+ :type options: set[bpy.typing.PropertyFlagItems]
539
540
  :param override: Enumerator in `rna_enum_property_override_flag_items`.
540
- :type override: set | None
541
+ :type override: set[bpy.typing.PropertyOverrideFlagItems]
541
542
  :param tags: Enumerator of tags that are defined by parent class.
542
543
  :type tags: set | None
543
544
  :param subtype: Enumerator in `rna_enum_property_subtype_number_array_items`.
544
- :type subtype: str | None
545
+ :type subtype: bpy.typing.PropertySubtypeNumberArrayItems
545
546
  :param size: Vector dimensions in [1, 32]. An int sequence can be used to define multi-dimension arrays.
546
547
  :type size: collections.abc.Sequence[int] | int | None
547
548
  :param update: Function to be called when this value is modified,
@@ -562,8 +563,8 @@ def PointerProperty(
562
563
  name: str | None = "",
563
564
  description: str | None = "",
564
565
  translation_context: str | None = "*",
565
- options: set | None = {"ANIMATABLE"},
566
- override: set | None = set(),
566
+ options: set[bpy.typing.PropertyFlagItems] = {"ANIMATABLE"},
567
+ override: set[bpy.typing.PropertyOverrideFlagItems] = set(),
567
568
  tags: set | None = set(),
568
569
  poll: typing.Any | None = None,
569
570
  update: typing.Any | None = None,
@@ -578,9 +579,9 @@ def PointerProperty(
578
579
  :param translation_context: Text used as context to disambiguate translations.
579
580
  :type translation_context: str | None
580
581
  :param options: Enumerator in `rna_enum_property_flag_items`.
581
- :type options: set | None
582
+ :type options: set[bpy.typing.PropertyFlagItems]
582
583
  :param override: Enumerator in `rna_enum_property_override_flag_items`.
583
- :type override: set | None
584
+ :type override: set[bpy.typing.PropertyOverrideFlagItems]
584
585
  :param tags: Enumerator of tags that are defined by parent class.
585
586
  :type tags: set | None
586
587
  :param poll: function to be called to determine whether an item is valid for this property.
@@ -608,10 +609,10 @@ def StringProperty(
608
609
  translation_context: str | None = "*",
609
610
  default: str | None = "",
610
611
  maxlen: int | None = 0,
611
- options: set | None = {"ANIMATABLE"},
612
- override: set | None = set(),
612
+ options: set[bpy.typing.PropertyFlagItems] = {"ANIMATABLE"},
613
+ override: set[bpy.typing.PropertyOverrideFlagItems] = set(),
613
614
  tags: set | None = set(),
614
- subtype: str | None = "NONE",
615
+ subtype: bpy.typing.PropertySubtypeStringItems = "NONE",
615
616
  update: typing.Any | None = None,
616
617
  get: typing.Any | None = None,
617
618
  set: typing.Any | None = None,
@@ -631,13 +632,13 @@ def StringProperty(
631
632
  :param maxlen: maximum length of the string.
632
633
  :type maxlen: int | None
633
634
  :param options: Enumerator in `rna_enum_property_flag_items`.
634
- :type options: set | None
635
+ :type options: set[bpy.typing.PropertyFlagItems]
635
636
  :param override: Enumerator in `rna_enum_property_override_flag_items`.
636
- :type override: set | None
637
+ :type override: set[bpy.typing.PropertyOverrideFlagItems]
637
638
  :param tags: Enumerator of tags that are defined by parent class.
638
639
  :type tags: set | None
639
640
  :param subtype: Enumerator in `rna_enum_property_subtype_string_items`.
640
- :type subtype: str | None
641
+ :type subtype: bpy.typing.PropertySubtypeStringItems
641
642
  :param update: Function to be called when this value is modified,
642
643
  This function must take 2 values (self, context) and return None.
643
644
  Warning there are no safety checks to avoid infinite recursion.