Masen Furer
|
586601b169
All Var-typed props are implicitly Optional
|
1 vuosi sitten |
Benedikt Bartscher
|
cdc2f4f6e0
cleanup unneeded init_subclass super calls
|
1 vuosi sitten |
Benedikt Bartscher
|
6d96a94d82
fix chakra list, allow Tag.tag to be None in validation
|
1 vuosi sitten |
Benedikt Bartscher
|
16a7c1ff51
fix bug in memoization mode copy
|
1 vuosi sitten |
Benedikt Bartscher
|
be0a77a66f
pydantic_init_subclass
|
1 vuosi sitten |
Benedikt Bartscher
|
30df32bd16
add default value for new lang prop in Html
|
1 vuosi sitten |
Benedikt Bartscher
|
7ac184f98b
rebuild pydantic model after dropping id field
|
1 vuosi sitten |
Benedikt Bartscher
|
bcd29a10e6
use typing.get_args instead of __args__
|
1 vuosi sitten |
Benedikt Bartscher
|
3c30ceb7f7
new regex missed f-strings
|
1 vuosi sitten |
Benedikt Bartscher
|
16b838dfb1
format component.library black
|
1 vuosi sitten |
Benedikt Bartscher
|
bcaab3015d
add Component.alias str type annotation
|
1 vuosi sitten |
Benedikt Bartscher
|
16b7baef80
add Component.library str type annotation
|
1 vuosi sitten |
Benedikt Bartscher
|
f44d0edc38
add Component.is_default bool type annotation
|
1 vuosi sitten |
Benedikt Bartscher
|
935286b464
add Component.tag str type annotation
|
1 vuosi sitten |
Benedikt Bartscher
|
7534b2caf2
my regex was not smart enough
|
1 vuosi sitten |
Benedikt Bartscher
|
99c28f8433
add proper pydantic v2 FieldInfo annotation
|
1 vuosi sitten |
Benedikt Bartscher
|
32bc17b757
minor IconButton default value fix
|
1 vuosi sitten |
Benedikt Bartscher
|
db3c791603
add hint for VarData deserialization
|
1 vuosi sitten |
Benedikt Bartscher
|
0240541d0b
migrate pydantic config classes to ConfigDict
|
1 vuosi sitten |
Benedikt Bartscher
|
b3593537be
fix VarData json loads
|
1 vuosi sitten |
Benedikt Bartscher
|
b565e8934a
dict -> model_dump and field_info fixes
|
1 vuosi sitten |
Benedikt Bartscher
|
b65c34b212
update_forward_refs -> model_rebuild
|
1 vuosi sitten |
Benedikt Bartscher
|
45cb36f59a
pydantic copy is deprecated in favor of model_copy
|
1 vuosi sitten |
Benedikt Bartscher
|
37c360e786
fix init_subclass for pydantic v2, add some missing type hints, format black
|
1 vuosi sitten |
Benedikt Bartscher
|
80f02753ba
add some missing type hints to test state vars
|
1 vuosi sitten |
Benedikt Bartscher
|
4380cd266d
fix pydantic _get_value for MutableProxy
|
1 vuosi sitten |
Benedikt Bartscher
|
7789118af3
prevent calling __bool__ for is_hydrated
|
1 vuosi sitten |
Benedikt Bartscher
|
211f9f3598
fix auto-var conversion
|
1 vuosi sitten |
Benedikt Bartscher
|
78db90d695
forgot to migrate one type_ to annotation
|
1 vuosi sitten |
Benedikt Bartscher
|
d0f15c591d
optionalize all Var props without defaults
|
1 vuosi sitten |