fake-bpy-module 20241009__py3-none-any.whl → 20241011__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 +0 -1
- bmesh/ops/__init__.pyi +12 -0
- bmesh/types/__init__.pyi +109 -111
- bmesh/utils/__init__.pyi +4 -1
- bpy/app/__init__.pyi +4 -2
- bpy/ops/mesh/__init__.pyi +12 -0
- bpy/ops/ui/__init__.pyi +0 -16
- bpy/ops/wm/__init__.pyi +43 -2
- bpy/props/__init__.pyi +59 -58
- bpy/types/__init__.pyi +256 -230
- bpy/typing/__init__.pyi +10 -10
- {fake_bpy_module-20241009.dist-info → fake_bpy_module-20241011.dist-info}/METADATA +3 -4
- {fake_bpy_module-20241009.dist-info → fake_bpy_module-20241011.dist-info}/RECORD +20 -21
- freestyle/functions/__init__.pyi +17 -5
- freestyle/types/__init__.pyi +7 -3
- gpu/shader/__init__.pyi +5 -2
- gpu/types/__init__.pyi +4 -2
- mathutils/geometry/__init__.pyi +4 -2
- bl_ui/properties_data_gpencil/__init__.pyi +0 -357
- {fake_bpy_module-20241009.dist-info → fake_bpy_module-20241011.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20241009.dist-info → fake_bpy_module-20241011.dist-info}/top_level.txt +0 -0
bpy/ops/wm/__init__.pyi
CHANGED
|
@@ -3633,7 +3633,48 @@ def properties_edit(
|
|
|
3633
3633
|
step_float: float | None = 0.1,
|
|
3634
3634
|
subtype: str | None = "",
|
|
3635
3635
|
default_string: str = "",
|
|
3636
|
-
id_type: typing.Literal[
|
|
3636
|
+
id_type: typing.Literal[
|
|
3637
|
+
"ACTION",
|
|
3638
|
+
"ARMATURE",
|
|
3639
|
+
"BRUSH",
|
|
3640
|
+
"CACHEFILE",
|
|
3641
|
+
"CAMERA",
|
|
3642
|
+
"COLLECTION",
|
|
3643
|
+
"CURVE",
|
|
3644
|
+
"CURVES",
|
|
3645
|
+
"FONT",
|
|
3646
|
+
"GREASEPENCIL",
|
|
3647
|
+
"GREASEPENCIL_V3",
|
|
3648
|
+
"IMAGE",
|
|
3649
|
+
"KEY",
|
|
3650
|
+
"LATTICE",
|
|
3651
|
+
"LIBRARY",
|
|
3652
|
+
"LIGHT",
|
|
3653
|
+
"LIGHT_PROBE",
|
|
3654
|
+
"LINESTYLE",
|
|
3655
|
+
"MASK",
|
|
3656
|
+
"MATERIAL",
|
|
3657
|
+
"MESH",
|
|
3658
|
+
"META",
|
|
3659
|
+
"MOVIECLIP",
|
|
3660
|
+
"NODETREE",
|
|
3661
|
+
"OBJECT",
|
|
3662
|
+
"PAINTCURVE",
|
|
3663
|
+
"PALETTE",
|
|
3664
|
+
"PARTICLE",
|
|
3665
|
+
"POINTCLOUD",
|
|
3666
|
+
"SCENE",
|
|
3667
|
+
"SCREEN",
|
|
3668
|
+
"SOUND",
|
|
3669
|
+
"SPEAKER",
|
|
3670
|
+
"TEXT",
|
|
3671
|
+
"TEXTURE",
|
|
3672
|
+
"VOLUME",
|
|
3673
|
+
"WINDOWMANAGER",
|
|
3674
|
+
"WORKSPACE",
|
|
3675
|
+
"WORLD",
|
|
3676
|
+
]
|
|
3677
|
+
| None = "OBJECT",
|
|
3637
3678
|
eval_string: str = "",
|
|
3638
3679
|
):
|
|
3639
3680
|
"""Change a custom property's type, or adjust how it is displayed in the interface
|
|
@@ -3715,7 +3756,7 @@ def properties_edit(
|
|
|
3715
3756
|
:param default_string: Default Value
|
|
3716
3757
|
:type default_string: str
|
|
3717
3758
|
:param id_type: ID Type
|
|
3718
|
-
:type id_type: typing.Literal['OBJECT'] | None
|
|
3759
|
+
:type id_type: typing.Literal['ACTION','ARMATURE','BRUSH','CACHEFILE','CAMERA','COLLECTION','CURVE','CURVES','FONT','GREASEPENCIL','GREASEPENCIL_V3','IMAGE','KEY','LATTICE','LIBRARY','LIGHT','LIGHT_PROBE','LINESTYLE','MASK','MATERIAL','MESH','META','MOVIECLIP','NODETREE','OBJECT','PAINTCURVE','PALETTE','PARTICLE','POINTCLOUD','SCENE','SCREEN','SOUND','SPEAKER','TEXT','TEXTURE','VOLUME','WINDOWMANAGER','WORKSPACE','WORLD'] | None
|
|
3719
3760
|
:param eval_string: Value, Python value for unsupported custom property types
|
|
3720
3761
|
:type eval_string: str
|
|
3721
3762
|
"""
|
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
|
|
102
|
-
override: set
|
|
102
|
+
options: set[bpy.typing.PropertyFlagItems] = {"ANIMATABLE"},
|
|
103
|
+
override: set[bpy.typing.PropertyOverrideFlagItems] = set(),
|
|
103
104
|
tags: set | None = set(),
|
|
104
|
-
subtype:
|
|
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
|
|
119
|
+
:type options: set[bpy.typing.PropertyFlagItems]
|
|
119
120
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
120
|
-
:type override: set
|
|
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:
|
|
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
|
|
144
|
-
override: set
|
|
144
|
+
options: set[bpy.typing.PropertyFlagItems] = {"ANIMATABLE"},
|
|
145
|
+
override: set[bpy.typing.PropertyOverrideFlagItems] = set(),
|
|
145
146
|
tags: set | None = set(),
|
|
146
|
-
subtype:
|
|
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
|
|
164
|
+
:type options: set[bpy.typing.PropertyFlagItems]
|
|
164
165
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
165
|
-
:type override: set
|
|
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:
|
|
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
|
|
191
|
-
override: 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
|
|
205
|
+
:type options: set[bpy.typing.PropertyFlagItems]
|
|
205
206
|
:param override: Enumerator in `rna_enum_property_override_flag_collection_items`.
|
|
206
|
-
:type override: set
|
|
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
|
|
233
|
-
override: 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
|
|
293
|
+
:type options: set[bpy.typing.PropertyFlagEnumItems]
|
|
293
294
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
294
|
-
:type override: set
|
|
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
|
|
322
|
-
override: set
|
|
322
|
+
options: set[bpy.typing.PropertyFlagItems] = {"ANIMATABLE"},
|
|
323
|
+
override: set[bpy.typing.PropertyOverrideFlagItems] = set(),
|
|
323
324
|
tags: set | None = set(),
|
|
324
|
-
subtype:
|
|
325
|
-
unit:
|
|
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
|
|
352
|
+
:type options: set[bpy.typing.PropertyFlagItems]
|
|
352
353
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
353
|
-
:type override: set
|
|
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:
|
|
358
|
+
:type subtype: bpy.typing.PropertySubtypeNumberItems
|
|
358
359
|
:param unit: Enumerator in `rna_enum_property_unit_items`.
|
|
359
|
-
:type unit:
|
|
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
|
|
385
|
-
override: set
|
|
385
|
+
options: set[bpy.typing.PropertyFlagItems] = {"ANIMATABLE"},
|
|
386
|
+
override: set[bpy.typing.PropertyOverrideFlagItems] = set(),
|
|
386
387
|
tags: set | None = set(),
|
|
387
|
-
subtype:
|
|
388
|
-
unit:
|
|
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
|
|
418
|
+
:type options: set[bpy.typing.PropertyFlagItems]
|
|
418
419
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
419
|
-
:type override: set
|
|
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:
|
|
424
|
+
:type subtype: bpy.typing.PropertySubtypeNumberArrayItems
|
|
424
425
|
:param unit: Enumerator in `rna_enum_property_unit_items`.
|
|
425
|
-
:type unit:
|
|
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
|
|
452
|
-
override: set
|
|
452
|
+
options: set[bpy.typing.PropertyFlagItems] = {"ANIMATABLE"},
|
|
453
|
+
override: set[bpy.typing.PropertyOverrideFlagItems] = set(),
|
|
453
454
|
tags: set | None = set(),
|
|
454
|
-
subtype:
|
|
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
|
|
479
|
+
:type options: set[bpy.typing.PropertyFlagItems]
|
|
479
480
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
480
|
-
:type override: set
|
|
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:
|
|
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
|
|
509
|
-
override: set
|
|
509
|
+
options: set[bpy.typing.PropertyFlagItems] = {"ANIMATABLE"},
|
|
510
|
+
override: set[bpy.typing.PropertyOverrideFlagItems] = set(),
|
|
510
511
|
tags: set | None = set(),
|
|
511
|
-
subtype:
|
|
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
|
|
539
|
+
:type options: set[bpy.typing.PropertyFlagItems]
|
|
539
540
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
540
|
-
:type override: set
|
|
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:
|
|
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
|
|
566
|
-
override: 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
|
|
582
|
+
:type options: set[bpy.typing.PropertyFlagItems]
|
|
582
583
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
583
|
-
:type override: set
|
|
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
|
|
612
|
-
override: set
|
|
612
|
+
options: set[bpy.typing.PropertyFlagItems] = {"ANIMATABLE"},
|
|
613
|
+
override: set[bpy.typing.PropertyOverrideFlagItems] = set(),
|
|
613
614
|
tags: set | None = set(),
|
|
614
|
-
subtype:
|
|
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
|
|
635
|
+
:type options: set[bpy.typing.PropertyFlagItems]
|
|
635
636
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
636
|
-
:type override: set
|
|
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:
|
|
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.
|