@@ -148,7 +148,7 @@ class TypeMappingFramework(extended_str):
148
148
149
149
Anything = Any
150
150
151
- @dataclass
151
+ @dataclass ( repr = False )
152
152
class CommonMetadata (YAMLRoot ):
153
153
"""
154
154
Generic metadata shared across definitions
@@ -311,7 +311,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
311
311
super ().__post_init__ (** kwargs )
312
312
313
313
314
- @dataclass
314
+ @dataclass ( repr = False )
315
315
class Element (YAMLRoot ):
316
316
"""
317
317
A named element in the model
@@ -516,7 +516,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
516
516
super ().__post_init__ (** kwargs )
517
517
518
518
519
- @dataclass
519
+ @dataclass ( repr = False )
520
520
class SchemaDefinition (Element ):
521
521
"""
522
522
A collection of definitions that make up a schema or a data model.
@@ -628,7 +628,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
628
628
super ().__post_init__ (** kwargs )
629
629
630
630
631
- @dataclass
631
+ @dataclass ( repr = False )
632
632
class AnonymousTypeExpression (YAMLRoot ):
633
633
"""
634
634
A type expression that is not a top-level named type definition. Used for nesting.
@@ -696,7 +696,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
696
696
super ().__post_init__ (** kwargs )
697
697
698
698
699
- @dataclass
699
+ @dataclass ( repr = False )
700
700
class TypeDefinition (Element ):
701
701
"""
702
702
an element that whose instances are atomic scalar values that can be mapped to primitive types
@@ -791,7 +791,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
791
791
super ().__post_init__ (** kwargs )
792
792
793
793
794
- @dataclass
794
+ @dataclass ( repr = False )
795
795
class SubsetDefinition (Element ):
796
796
"""
797
797
an element that can be used to group other metamodel elements
@@ -814,7 +814,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
814
814
super ().__post_init__ (** kwargs )
815
815
816
816
817
- @dataclass
817
+ @dataclass ( repr = False )
818
818
class Definition (Element ):
819
819
"""
820
820
abstract base class for core metaclasses
@@ -863,7 +863,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
863
863
super ().__post_init__ (** kwargs )
864
864
865
865
866
- @dataclass
866
+ @dataclass ( repr = False )
867
867
class AnonymousEnumExpression (YAMLRoot ):
868
868
"""
869
869
An enum_expression that is not named
@@ -927,7 +927,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
927
927
super ().__post_init__ (** kwargs )
928
928
929
929
930
- @dataclass
930
+ @dataclass ( repr = False )
931
931
class EnumDefinition (Definition ):
932
932
"""
933
933
an element whose instances must be drawn from a specified set of permissible values
@@ -1001,7 +1001,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
1001
1001
super ().__post_init__ (** kwargs )
1002
1002
1003
1003
1004
- @dataclass
1004
+ @dataclass ( repr = False )
1005
1005
class EnumBinding (YAMLRoot ):
1006
1006
"""
1007
1007
A binding of a slot or a class to a permissible value from an enumeration.
@@ -1186,7 +1186,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
1186
1186
super ().__post_init__ (** kwargs )
1187
1187
1188
1188
1189
- @dataclass
1189
+ @dataclass ( repr = False )
1190
1190
class MatchQuery (YAMLRoot ):
1191
1191
"""
1192
1192
A query that is used on an enum expression to dynamically obtain a set of permissivle values via a query that
@@ -1212,7 +1212,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
1212
1212
super ().__post_init__ (** kwargs )
1213
1213
1214
1214
1215
- @dataclass
1215
+ @dataclass ( repr = False )
1216
1216
class ReachabilityQuery (YAMLRoot ):
1217
1217
"""
1218
1218
A query that is used on an enum expression to dynamically obtain a set of permissible values via walking from a
@@ -1256,7 +1256,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
1256
1256
super ().__post_init__ (** kwargs )
1257
1257
1258
1258
1259
- @dataclass
1259
+ @dataclass ( repr = False )
1260
1260
class StructuredAlias (YAMLRoot ):
1261
1261
"""
1262
1262
object that contains meta data about a synonym or alias including where it came from (source) and its scope
@@ -1453,7 +1453,7 @@ class Expression(YAMLRoot):
1453
1453
class_model_uri : ClassVar [URIRef ] = LINKML .Expression
1454
1454
1455
1455
1456
- @dataclass
1456
+ @dataclass ( repr = False )
1457
1457
class TypeExpression (Expression ):
1458
1458
"""
1459
1459
An abstract class grouping named types and anonymous type expressions
@@ -1521,7 +1521,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
1521
1521
super ().__post_init__ (** kwargs )
1522
1522
1523
1523
1524
- @dataclass
1524
+ @dataclass ( repr = False )
1525
1525
class EnumExpression (Expression ):
1526
1526
"""
1527
1527
An expression that constrains the range of a slot
@@ -1585,7 +1585,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
1585
1585
super ().__post_init__ (** kwargs )
1586
1586
1587
1587
1588
- @dataclass
1588
+ @dataclass ( repr = False )
1589
1589
class AnonymousExpression (YAMLRoot ):
1590
1590
"""
1591
1591
An abstract parent class for any nested expression
@@ -1754,7 +1754,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
1754
1754
super ().__post_init__ (** kwargs )
1755
1755
1756
1756
1757
- @dataclass
1757
+ @dataclass ( repr = False )
1758
1758
class PathExpression (YAMLRoot ):
1759
1759
"""
1760
1760
An expression that describes an abstract path from an object to another through a sequence of slot lookups
@@ -1959,7 +1959,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
1959
1959
super ().__post_init__ (** kwargs )
1960
1960
1961
1961
1962
- @dataclass
1962
+ @dataclass ( repr = False )
1963
1963
class SlotExpression (Expression ):
1964
1964
"""
1965
1965
an expression that constrains the range of values a slot can take
@@ -2092,7 +2092,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
2092
2092
super ().__post_init__ (** kwargs )
2093
2093
2094
2094
2095
- @dataclass
2095
+ @dataclass ( repr = False )
2096
2096
class AnonymousSlotExpression (AnonymousExpression ):
2097
2097
_inherited_slots : ClassVar [List [str ]] = ["range" , "required" , "recommended" , "multivalued" , "inlined" , "inlined_as_list" , "minimum_value" , "maximum_value" , "pattern" , "structured_pattern" , "value_presence" , "equals_string" , "equals_string_in" , "equals_number" , "equals_expression" , "exact_cardinality" , "minimum_cardinality" , "maximum_cardinality" ]
2098
2098
@@ -2222,7 +2222,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
2222
2222
super ().__post_init__ (** kwargs )
2223
2223
2224
2224
2225
- @dataclass
2225
+ @dataclass ( repr = False )
2226
2226
class SlotDefinition (Definition ):
2227
2227
"""
2228
2228
an element that describes how instances are related to other instances
@@ -2531,7 +2531,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
2531
2531
super ().__post_init__ (** kwargs )
2532
2532
2533
2533
2534
- @dataclass
2534
+ @dataclass ( repr = False )
2535
2535
class ClassExpression (YAMLRoot ):
2536
2536
"""
2537
2537
A boolean expression that can be used to dynamically determine membership of a class
@@ -2571,7 +2571,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
2571
2571
super ().__post_init__ (** kwargs )
2572
2572
2573
2573
2574
- @dataclass
2574
+ @dataclass ( repr = False )
2575
2575
class AnonymousClassExpression (AnonymousExpression ):
2576
2576
_inherited_slots : ClassVar [List [str ]] = []
2577
2577
@@ -2612,7 +2612,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
2612
2612
super ().__post_init__ (** kwargs )
2613
2613
2614
2614
2615
- @dataclass
2615
+ @dataclass ( repr = False )
2616
2616
class ClassDefinition (Definition ):
2617
2617
"""
2618
2618
an element whose instances are complex objects that may have slot-value assignments
@@ -2747,7 +2747,7 @@ class ClassLevelRule(YAMLRoot):
2747
2747
class_model_uri : ClassVar [URIRef ] = LINKML .ClassLevelRule
2748
2748
2749
2749
2750
- @dataclass
2750
+ @dataclass ( repr = False )
2751
2751
class ClassRule (ClassLevelRule ):
2752
2752
"""
2753
2753
A rule that applies to instances of a class
@@ -2940,7 +2940,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
2940
2940
super ().__post_init__ (** kwargs )
2941
2941
2942
2942
2943
- @dataclass
2943
+ @dataclass ( repr = False )
2944
2944
class ArrayExpression (YAMLRoot ):
2945
2945
"""
2946
2946
defines the dimensions of an array
@@ -3123,7 +3123,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
3123
3123
super ().__post_init__ (** kwargs )
3124
3124
3125
3125
3126
- @dataclass
3126
+ @dataclass ( repr = False )
3127
3127
class DimensionExpression (YAMLRoot ):
3128
3128
"""
3129
3129
defines one of the dimensions of an array
@@ -3308,7 +3308,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
3308
3308
super ().__post_init__ (** kwargs )
3309
3309
3310
3310
3311
- @dataclass
3311
+ @dataclass ( repr = False )
3312
3312
class PatternExpression (YAMLRoot ):
3313
3313
"""
3314
3314
a regular expression pattern used to evaluate conformance of a string
@@ -3489,7 +3489,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
3489
3489
super ().__post_init__ (** kwargs )
3490
3490
3491
3491
3492
- @dataclass
3492
+ @dataclass ( repr = False )
3493
3493
class ImportExpression (YAMLRoot ):
3494
3494
"""
3495
3495
an expression describing an import
@@ -3671,7 +3671,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
3671
3671
super ().__post_init__ (** kwargs )
3672
3672
3673
3673
3674
- @dataclass
3674
+ @dataclass ( repr = False )
3675
3675
class Setting (YAMLRoot ):
3676
3676
"""
3677
3677
assignment of a key to a value
@@ -3700,7 +3700,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
3700
3700
super ().__post_init__ (** kwargs )
3701
3701
3702
3702
3703
- @dataclass
3703
+ @dataclass ( repr = False )
3704
3704
class Prefix (YAMLRoot ):
3705
3705
"""
3706
3706
prefix URI tuple
@@ -3729,7 +3729,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
3729
3729
super ().__post_init__ (** kwargs )
3730
3730
3731
3731
3732
- @dataclass
3732
+ @dataclass ( repr = False )
3733
3733
class LocalName (YAMLRoot ):
3734
3734
"""
3735
3735
an attributed label
@@ -3758,7 +3758,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
3758
3758
super ().__post_init__ (** kwargs )
3759
3759
3760
3760
3761
- @dataclass
3761
+ @dataclass ( repr = False )
3762
3762
class Example (YAMLRoot ):
3763
3763
"""
3764
3764
usage example and description
@@ -3784,7 +3784,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
3784
3784
super ().__post_init__ (** kwargs )
3785
3785
3786
3786
3787
- @dataclass
3787
+ @dataclass ( repr = False )
3788
3788
class AltDescription (YAMLRoot ):
3789
3789
"""
3790
3790
an attributed description
@@ -3813,7 +3813,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
3813
3813
super ().__post_init__ (** kwargs )
3814
3814
3815
3815
3816
- @dataclass
3816
+ @dataclass ( repr = False )
3817
3817
class PermissibleValue (YAMLRoot ):
3818
3818
"""
3819
3819
a permissible value, accompanied by intended text and an optional mapping to a concept URI
@@ -4015,7 +4015,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
4015
4015
super ().__post_init__ (** kwargs )
4016
4016
4017
4017
4018
- @dataclass
4018
+ @dataclass ( repr = False )
4019
4019
class UniqueKey (YAMLRoot ):
4020
4020
"""
4021
4021
a collection of slots whose values uniquely identify an instance of a class
0 commit comments