fake-bpy-module 20250103__py3-none-any.whl → 20250108__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/node_add_menu_shader/__init__.pyi +0 -1
- bl_ui/properties_data_camera/__init__.pyi +0 -2
- bl_ui/space_node/__init__.pyi +0 -1
- bmesh/ops/__init__.pyi +1 -1
- bpy/__init__.pyi +0 -1
- bpy/_typing/__init__.pyi +4 -0
- bpy/{typing → _typing/rna_enums}/__init__.pyi +9 -9
- bpy/app/__init__.pyi +3 -3
- bpy/ops/action/__init__.pyi +13 -13
- bpy/ops/boid/__init__.pyi +3 -3
- bpy/ops/brush/__init__.pyi +3 -3
- bpy/ops/clip/__init__.pyi +3 -3
- bpy/ops/curve/__init__.pyi +5 -5
- bpy/ops/curves/__init__.pyi +9 -9
- bpy/ops/dpaint/__init__.pyi +3 -3
- bpy/ops/geometry/__init__.pyi +19 -19
- bpy/ops/graph/__init__.pyi +17 -17
- bpy/ops/grease_pencil/__init__.pyi +9 -27
- bpy/ops/image/__init__.pyi +9 -9
- bpy/ops/lattice/__init__.pyi +3 -3
- bpy/ops/mesh/__init__.pyi +54 -43
- bpy/ops/nla/__init__.pyi +3 -3
- bpy/ops/node/__init__.pyi +3 -3
- bpy/ops/object/__init__.pyi +69 -69
- bpy/ops/outliner/__init__.pyi +5 -5
- bpy/ops/paint/__init__.pyi +7 -7
- bpy/ops/pose/__init__.pyi +13 -13
- bpy/ops/rigidbody/__init__.pyi +9 -9
- bpy/ops/scene/__init__.pyi +10 -9
- bpy/ops/screen/__init__.pyi +7 -7
- bpy/ops/sequencer/__init__.pyi +3 -3
- bpy/ops/sound/__init__.pyi +3 -3
- bpy/ops/transform/__init__.pyi +87 -73
- bpy/ops/uv/__init__.pyi +3 -3
- bpy/ops/wm/__init__.pyi +18 -15
- bpy/props/__init__.pyi +61 -63
- bpy/types/__init__.pyi +31646 -31532
- bpy/utils/__init__.pyi +3 -10
- {fake_bpy_module-20250103.dist-info → fake_bpy_module-20250108.dist-info}/METADATA +1 -1
- {fake_bpy_module-20250103.dist-info → fake_bpy_module-20250108.dist-info}/RECORD +44 -43
- {fake_bpy_module-20250103.dist-info → fake_bpy_module-20250108.dist-info}/WHEEL +1 -1
- freestyle/utils/__init__.pyi +1 -1
- gpu_extras/batch/__init__.pyi +3 -2
- {fake_bpy_module-20250103.dist-info → fake_bpy_module-20250108.dist-info}/top_level.txt +0 -0
bpy/props/__init__.pyi
CHANGED
|
@@ -98,8 +98,8 @@ Instead use del cls.attr
|
|
|
98
98
|
import typing
|
|
99
99
|
import collections.abc
|
|
100
100
|
import typing_extensions
|
|
101
|
+
import bpy._typing.rna_enums
|
|
101
102
|
import bpy.types
|
|
102
|
-
import bpy.typing
|
|
103
103
|
|
|
104
104
|
def BoolProperty(
|
|
105
105
|
*,
|
|
@@ -107,10 +107,10 @@ def BoolProperty(
|
|
|
107
107
|
description: str | None = "",
|
|
108
108
|
translation_context: str | None = "*",
|
|
109
109
|
default=False,
|
|
110
|
-
options: set[bpy.
|
|
111
|
-
override: set[bpy.
|
|
110
|
+
options: set[bpy._typing.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
111
|
+
override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
112
112
|
tags=set(),
|
|
113
|
-
subtype: bpy.
|
|
113
|
+
subtype: bpy._typing.rna_enums.PropertySubtypeNumberItems = "NONE",
|
|
114
114
|
update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
|
|
115
115
|
| None = None,
|
|
116
116
|
get: collections.abc.Callable[[bpy.types.bpy_struct], bool] | None = None,
|
|
@@ -125,12 +125,12 @@ def BoolProperty(
|
|
|
125
125
|
:param translation_context: Text used as context to disambiguate translations.
|
|
126
126
|
:type translation_context: str | None
|
|
127
127
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
128
|
-
:type options: set[bpy.
|
|
128
|
+
:type options: set[bpy._typing.rna_enums.PropertyFlagItems]
|
|
129
129
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
130
|
-
:type override: set[bpy.
|
|
130
|
+
:type override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems]
|
|
131
131
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
132
132
|
:param subtype: Enumerator in `rna_enum_property_subtype_number_items`.
|
|
133
|
-
:type subtype: bpy.
|
|
133
|
+
:type subtype: bpy._typing.rna_enums.PropertySubtypeNumberItems
|
|
134
134
|
:param update: Function to be called when this value is modified,
|
|
135
135
|
This function must take 2 values (self, context) and return None.
|
|
136
136
|
Warning there are no safety checks to avoid infinite recursion.
|
|
@@ -149,10 +149,10 @@ def BoolVectorProperty(
|
|
|
149
149
|
description: str | None = "",
|
|
150
150
|
translation_context: str | None = "*",
|
|
151
151
|
default: collections.abc.Sequence[bool] | None = (False, False, False),
|
|
152
|
-
options: set[bpy.
|
|
153
|
-
override: set[bpy.
|
|
152
|
+
options: set[bpy._typing.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
153
|
+
override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
154
154
|
tags=set(),
|
|
155
|
-
subtype: bpy.
|
|
155
|
+
subtype: bpy._typing.rna_enums.PropertySubtypeNumberArrayItems = "NONE",
|
|
156
156
|
size: collections.abc.Sequence[int] | int | None = 3,
|
|
157
157
|
update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
|
|
158
158
|
| None = None,
|
|
@@ -174,12 +174,12 @@ def BoolVectorProperty(
|
|
|
174
174
|
:param default: sequence of booleans the length of size.
|
|
175
175
|
:type default: collections.abc.Sequence[bool] | None
|
|
176
176
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
177
|
-
:type options: set[bpy.
|
|
177
|
+
:type options: set[bpy._typing.rna_enums.PropertyFlagItems]
|
|
178
178
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
179
|
-
:type override: set[bpy.
|
|
179
|
+
:type override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems]
|
|
180
180
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
181
181
|
:param subtype: Enumerator in `rna_enum_property_subtype_number_array_items`.
|
|
182
|
-
:type subtype: bpy.
|
|
182
|
+
:type subtype: bpy._typing.rna_enums.PropertySubtypeNumberArrayItems
|
|
183
183
|
:param size: Vector dimensions in [1, 32]. An int sequence can be used to define multi-dimension arrays.
|
|
184
184
|
:type size: collections.abc.Sequence[int] | int | None
|
|
185
185
|
:param update: Function to be called when this value is modified,
|
|
@@ -196,18 +196,17 @@ def BoolVectorProperty(
|
|
|
196
196
|
|
|
197
197
|
def CollectionProperty(
|
|
198
198
|
*,
|
|
199
|
-
type
|
|
199
|
+
type=None,
|
|
200
200
|
name: str | None = "",
|
|
201
201
|
description: str | None = "",
|
|
202
202
|
translation_context: str | None = "*",
|
|
203
|
-
options: set[bpy.
|
|
204
|
-
override: set[bpy.
|
|
203
|
+
options: set[bpy._typing.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
204
|
+
override: set[bpy._typing.rna_enums.PropertyOverrideFlagCollectionItems] = set(),
|
|
205
205
|
tags=set(),
|
|
206
206
|
):
|
|
207
207
|
"""Returns a new collection property definition.
|
|
208
208
|
|
|
209
209
|
:param type: A subclass of a property group.
|
|
210
|
-
:type type: bpy.types.PropertyGroup | None
|
|
211
210
|
:param name: Name used in the user interface.
|
|
212
211
|
:type name: str | None
|
|
213
212
|
:param description: Text used for the tooltip and api documentation.
|
|
@@ -215,9 +214,9 @@ def CollectionProperty(
|
|
|
215
214
|
:param translation_context: Text used as context to disambiguate translations.
|
|
216
215
|
:type translation_context: str | None
|
|
217
216
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
218
|
-
:type options: set[bpy.
|
|
217
|
+
:type options: set[bpy._typing.rna_enums.PropertyFlagItems]
|
|
219
218
|
:param override: Enumerator in `rna_enum_property_override_flag_collection_items`.
|
|
220
|
-
:type override: set[bpy.
|
|
219
|
+
:type override: set[bpy._typing.rna_enums.PropertyOverrideFlagCollectionItems]
|
|
221
220
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
222
221
|
"""
|
|
223
222
|
|
|
@@ -242,8 +241,8 @@ def EnumProperty(
|
|
|
242
241
|
description: str | None = "",
|
|
243
242
|
translation_context: str | None = "*",
|
|
244
243
|
default: int | str | None = None,
|
|
245
|
-
options: set[bpy.
|
|
246
|
-
override: set[bpy.
|
|
244
|
+
options: set[bpy._typing.rna_enums.PropertyFlagEnumItems] = {"ANIMATABLE"},
|
|
245
|
+
override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
247
246
|
tags=set(),
|
|
248
247
|
update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
|
|
249
248
|
| None = None,
|
|
@@ -306,9 +305,9 @@ def EnumProperty(
|
|
|
306
305
|
(i.e. if a callback function is given as items parameter).
|
|
307
306
|
:type default: int | str | None
|
|
308
307
|
:param options: Enumerator in `rna_enum_property_flag_enum_items`.
|
|
309
|
-
:type options: set[bpy.
|
|
308
|
+
:type options: set[bpy._typing.rna_enums.PropertyFlagEnumItems]
|
|
310
309
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
311
|
-
:type override: set[bpy.
|
|
310
|
+
:type override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems]
|
|
312
311
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
313
312
|
:param update: Function to be called when this value is modified,
|
|
314
313
|
This function must take 2 values (self, context) and return None.
|
|
@@ -334,11 +333,11 @@ def FloatProperty(
|
|
|
334
333
|
soft_max: float | None = 3.402823e38,
|
|
335
334
|
step: int | None = 3,
|
|
336
335
|
precision: int | None = 2,
|
|
337
|
-
options: set[bpy.
|
|
338
|
-
override: set[bpy.
|
|
336
|
+
options: set[bpy._typing.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
337
|
+
override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
339
338
|
tags=set(),
|
|
340
|
-
subtype: bpy.
|
|
341
|
-
unit: bpy.
|
|
339
|
+
subtype: bpy._typing.rna_enums.PropertySubtypeNumberItems = "NONE",
|
|
340
|
+
unit: bpy._typing.rna_enums.PropertyUnitItems = "NONE",
|
|
342
341
|
update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
|
|
343
342
|
| None = None,
|
|
344
343
|
get: collections.abc.Callable[[bpy.types.bpy_struct], float] | None = None,
|
|
@@ -365,14 +364,14 @@ def FloatProperty(
|
|
|
365
364
|
: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.
|
|
366
365
|
:type precision: int | None
|
|
367
366
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
368
|
-
:type options: set[bpy.
|
|
367
|
+
:type options: set[bpy._typing.rna_enums.PropertyFlagItems]
|
|
369
368
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
370
|
-
:type override: set[bpy.
|
|
369
|
+
:type override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems]
|
|
371
370
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
372
371
|
:param subtype: Enumerator in `rna_enum_property_subtype_number_items`.
|
|
373
|
-
:type subtype: bpy.
|
|
372
|
+
:type subtype: bpy._typing.rna_enums.PropertySubtypeNumberItems
|
|
374
373
|
:param unit: Enumerator in `rna_enum_property_unit_items`.
|
|
375
|
-
:type unit: bpy.
|
|
374
|
+
:type unit: bpy._typing.rna_enums.PropertyUnitItems
|
|
376
375
|
:param update: Function to be called when this value is modified,
|
|
377
376
|
This function must take 2 values (self, context) and return None.
|
|
378
377
|
Warning there are no safety checks to avoid infinite recursion.
|
|
@@ -397,11 +396,11 @@ def FloatVectorProperty(
|
|
|
397
396
|
soft_max: float | None = sys.float_info.max,
|
|
398
397
|
step: int | None = 3,
|
|
399
398
|
precision: int | None = 2,
|
|
400
|
-
options: set[bpy.
|
|
401
|
-
override: set[bpy.
|
|
399
|
+
options: set[bpy._typing.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
400
|
+
override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
402
401
|
tags=set(),
|
|
403
|
-
subtype: bpy.
|
|
404
|
-
unit: bpy.
|
|
402
|
+
subtype: bpy._typing.rna_enums.PropertySubtypeNumberArrayItems = "NONE",
|
|
403
|
+
unit: bpy._typing.rna_enums.PropertyUnitItems = "NONE",
|
|
405
404
|
size: collections.abc.Sequence[int] | int | None = 3,
|
|
406
405
|
update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
|
|
407
406
|
| None = None,
|
|
@@ -435,14 +434,14 @@ def FloatVectorProperty(
|
|
|
435
434
|
: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.
|
|
436
435
|
:type precision: int | None
|
|
437
436
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
438
|
-
:type options: set[bpy.
|
|
437
|
+
:type options: set[bpy._typing.rna_enums.PropertyFlagItems]
|
|
439
438
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
440
|
-
:type override: set[bpy.
|
|
439
|
+
:type override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems]
|
|
441
440
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
442
441
|
:param subtype: Enumerator in `rna_enum_property_subtype_number_array_items`.
|
|
443
|
-
:type subtype: bpy.
|
|
442
|
+
:type subtype: bpy._typing.rna_enums.PropertySubtypeNumberArrayItems
|
|
444
443
|
:param unit: Enumerator in `rna_enum_property_unit_items`.
|
|
445
|
-
:type unit: bpy.
|
|
444
|
+
:type unit: bpy._typing.rna_enums.PropertyUnitItems
|
|
446
445
|
:param size: Vector dimensions in [1, 32]. An int sequence can be used to define multi-dimension arrays.
|
|
447
446
|
:type size: collections.abc.Sequence[int] | int | None
|
|
448
447
|
:param update: Function to be called when this value is modified,
|
|
@@ -468,10 +467,10 @@ def IntProperty(
|
|
|
468
467
|
soft_min: int | None = None,
|
|
469
468
|
soft_max: int | None = None,
|
|
470
469
|
step: int | None = 1,
|
|
471
|
-
options: set[bpy.
|
|
472
|
-
override: set[bpy.
|
|
470
|
+
options: set[bpy._typing.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
471
|
+
override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
473
472
|
tags=set(),
|
|
474
|
-
subtype: bpy.
|
|
473
|
+
subtype: bpy._typing.rna_enums.PropertySubtypeNumberItems = "NONE",
|
|
475
474
|
update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
|
|
476
475
|
| None = None,
|
|
477
476
|
get: collections.abc.Callable[[bpy.types.bpy_struct], int] | None = None,
|
|
@@ -496,12 +495,12 @@ def IntProperty(
|
|
|
496
495
|
:param step: Step of increment/decrement in UI, in [1, 100], defaults to 1 (WARNING: unused currently!).
|
|
497
496
|
:type step: int | None
|
|
498
497
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
499
|
-
:type options: set[bpy.
|
|
498
|
+
:type options: set[bpy._typing.rna_enums.PropertyFlagItems]
|
|
500
499
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
501
|
-
:type override: set[bpy.
|
|
500
|
+
:type override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems]
|
|
502
501
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
503
502
|
:param subtype: Enumerator in `rna_enum_property_subtype_number_items`.
|
|
504
|
-
:type subtype: bpy.
|
|
503
|
+
:type subtype: bpy._typing.rna_enums.PropertySubtypeNumberItems
|
|
505
504
|
:param update: Function to be called when this value is modified,
|
|
506
505
|
This function must take 2 values (self, context) and return None.
|
|
507
506
|
Warning there are no safety checks to avoid infinite recursion.
|
|
@@ -525,10 +524,10 @@ def IntVectorProperty(
|
|
|
525
524
|
soft_min: int | None = None,
|
|
526
525
|
soft_max: int | None = None,
|
|
527
526
|
step: int | None = 1,
|
|
528
|
-
options: set[bpy.
|
|
529
|
-
override: set[bpy.
|
|
527
|
+
options: set[bpy._typing.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
528
|
+
override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
530
529
|
tags=set(),
|
|
531
|
-
subtype: bpy.
|
|
530
|
+
subtype: bpy._typing.rna_enums.PropertySubtypeNumberArrayItems = "NONE",
|
|
532
531
|
size: collections.abc.Sequence[int] | int | None = 3,
|
|
533
532
|
update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
|
|
534
533
|
| None = None,
|
|
@@ -558,12 +557,12 @@ def IntVectorProperty(
|
|
|
558
557
|
:param step: Step of increment/decrement in UI, in [1, 100], defaults to 1 (WARNING: unused currently!).
|
|
559
558
|
:type step: int | None
|
|
560
559
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
561
|
-
:type options: set[bpy.
|
|
560
|
+
:type options: set[bpy._typing.rna_enums.PropertyFlagItems]
|
|
562
561
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
563
|
-
:type override: set[bpy.
|
|
562
|
+
:type override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems]
|
|
564
563
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
565
564
|
:param subtype: Enumerator in `rna_enum_property_subtype_number_array_items`.
|
|
566
|
-
:type subtype: bpy.
|
|
565
|
+
:type subtype: bpy._typing.rna_enums.PropertySubtypeNumberArrayItems
|
|
567
566
|
:param size: Vector dimensions in [1, 32]. An int sequence can be used to define multi-dimension arrays.
|
|
568
567
|
:type size: collections.abc.Sequence[int] | int | None
|
|
569
568
|
:param update: Function to be called when this value is modified,
|
|
@@ -580,12 +579,12 @@ def IntVectorProperty(
|
|
|
580
579
|
|
|
581
580
|
def PointerProperty(
|
|
582
581
|
*,
|
|
583
|
-
type
|
|
582
|
+
type=None,
|
|
584
583
|
name: str | None = "",
|
|
585
584
|
description: str | None = "",
|
|
586
585
|
translation_context: str | None = "*",
|
|
587
|
-
options: set[bpy.
|
|
588
|
-
override: set[bpy.
|
|
586
|
+
options: set[bpy._typing.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
587
|
+
override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
589
588
|
tags=set(),
|
|
590
589
|
poll: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.ID], bool]
|
|
591
590
|
| None = None,
|
|
@@ -595,7 +594,6 @@ def PointerProperty(
|
|
|
595
594
|
"""Returns a new pointer property definition.
|
|
596
595
|
|
|
597
596
|
:param type: A subclass of a property group or ID types.
|
|
598
|
-
:type type: bpy.types.ID | bpy.types.PropertyGroup | None
|
|
599
597
|
:param name: Name used in the user interface.
|
|
600
598
|
:type name: str | None
|
|
601
599
|
:param description: Text used for the tooltip and api documentation.
|
|
@@ -603,9 +601,9 @@ def PointerProperty(
|
|
|
603
601
|
:param translation_context: Text used as context to disambiguate translations.
|
|
604
602
|
:type translation_context: str | None
|
|
605
603
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
606
|
-
:type options: set[bpy.
|
|
604
|
+
:type options: set[bpy._typing.rna_enums.PropertyFlagItems]
|
|
607
605
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
608
|
-
:type override: set[bpy.
|
|
606
|
+
:type override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems]
|
|
609
607
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
610
608
|
:param poll: function to be called to determine whether an item is valid for this property.
|
|
611
609
|
The function must take 2 values (self, object) and return Bool.
|
|
@@ -633,10 +631,10 @@ def StringProperty(
|
|
|
633
631
|
translation_context: str | None = "*",
|
|
634
632
|
default: str | None = "",
|
|
635
633
|
maxlen: int | None = 0,
|
|
636
|
-
options: set[bpy.
|
|
637
|
-
override: set[bpy.
|
|
634
|
+
options: set[bpy._typing.rna_enums.PropertyFlagItems] = {"ANIMATABLE"},
|
|
635
|
+
override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems] = set(),
|
|
638
636
|
tags=set(),
|
|
639
|
-
subtype: bpy.
|
|
637
|
+
subtype: bpy._typing.rna_enums.PropertySubtypeStringItems = "NONE",
|
|
640
638
|
update: collections.abc.Callable[[bpy.types.bpy_struct, bpy.types.Context], None]
|
|
641
639
|
| None = None,
|
|
642
640
|
get: collections.abc.Callable[[bpy.types.bpy_struct], str] | None = None,
|
|
@@ -658,12 +656,12 @@ def StringProperty(
|
|
|
658
656
|
:param maxlen: maximum length of the string.
|
|
659
657
|
:type maxlen: int | None
|
|
660
658
|
:param options: Enumerator in `rna_enum_property_flag_items`.
|
|
661
|
-
:type options: set[bpy.
|
|
659
|
+
:type options: set[bpy._typing.rna_enums.PropertyFlagItems]
|
|
662
660
|
:param override: Enumerator in `rna_enum_property_override_flag_items`.
|
|
663
|
-
:type override: set[bpy.
|
|
661
|
+
:type override: set[bpy._typing.rna_enums.PropertyOverrideFlagItems]
|
|
664
662
|
:param tags: Enumerator of tags that are defined by parent class.
|
|
665
663
|
:param subtype: Enumerator in `rna_enum_property_subtype_string_items`.
|
|
666
|
-
:type subtype: bpy.
|
|
664
|
+
:type subtype: bpy._typing.rna_enums.PropertySubtypeStringItems
|
|
667
665
|
:param update: Function to be called when this value is modified,
|
|
668
666
|
This function must take 2 values (self, context) and return None.
|
|
669
667
|
Warning there are no safety checks to avoid infinite recursion.
|