@@ -144,7 +144,7 @@ class UniqueKeyUniqueKeyName(extended_str):
144
144
145
145
Anything = Any
146
146
147
- @dataclass
147
+ @dataclass ( repr = False )
148
148
class CommonMetadata (YAMLRoot ):
149
149
"""
150
150
Generic metadata shared across definitions
@@ -307,7 +307,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
307
307
super ().__post_init__ (** kwargs )
308
308
309
309
310
- @dataclass
310
+ @dataclass ( repr = False )
311
311
class Element (YAMLRoot ):
312
312
"""
313
313
A named element in the model
@@ -512,7 +512,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
512
512
super ().__post_init__ (** kwargs )
513
513
514
514
515
- @dataclass
515
+ @dataclass ( repr = False )
516
516
class SchemaDefinition (Element ):
517
517
"""
518
518
A collection of definitions that make up a schema or a data model.
@@ -619,7 +619,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
619
619
super ().__post_init__ (** kwargs )
620
620
621
621
622
- @dataclass
622
+ @dataclass ( repr = False )
623
623
class AnonymousTypeExpression (YAMLRoot ):
624
624
"""
625
625
A type expression that is not a top-level named type definition. Used for nesting.
@@ -687,7 +687,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
687
687
super ().__post_init__ (** kwargs )
688
688
689
689
690
- @dataclass
690
+ @dataclass ( repr = False )
691
691
class TypeDefinition (Element ):
692
692
"""
693
693
an element that whose instances are atomic scalar values that can be mapped to primitive types
@@ -782,7 +782,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
782
782
super ().__post_init__ (** kwargs )
783
783
784
784
785
- @dataclass
785
+ @dataclass ( repr = False )
786
786
class SubsetDefinition (Element ):
787
787
"""
788
788
an element that can be used to group other metamodel elements
@@ -805,7 +805,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
805
805
super ().__post_init__ (** kwargs )
806
806
807
807
808
- @dataclass
808
+ @dataclass ( repr = False )
809
809
class Definition (Element ):
810
810
"""
811
811
abstract base class for core metaclasses
@@ -854,7 +854,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
854
854
super ().__post_init__ (** kwargs )
855
855
856
856
857
- @dataclass
857
+ @dataclass ( repr = False )
858
858
class AnonymousEnumExpression (YAMLRoot ):
859
859
"""
860
860
An enum_expression that is not named
@@ -918,7 +918,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
918
918
super ().__post_init__ (** kwargs )
919
919
920
920
921
- @dataclass
921
+ @dataclass ( repr = False )
922
922
class EnumDefinition (Definition ):
923
923
"""
924
924
an element whose instances must be drawn from a specified set of permissible values
@@ -992,7 +992,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
992
992
super ().__post_init__ (** kwargs )
993
993
994
994
995
- @dataclass
995
+ @dataclass ( repr = False )
996
996
class MatchQuery (YAMLRoot ):
997
997
"""
998
998
A query that is used on an enum expression to dynamically obtain a set of permissivle values via a query that
@@ -1018,7 +1018,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
1018
1018
super ().__post_init__ (** kwargs )
1019
1019
1020
1020
1021
- @dataclass
1021
+ @dataclass ( repr = False )
1022
1022
class ReachabilityQuery (YAMLRoot ):
1023
1023
"""
1024
1024
A query that is used on an enum expression to dynamically obtain a set of permissible values via walking from a
@@ -1062,7 +1062,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
1062
1062
super ().__post_init__ (** kwargs )
1063
1063
1064
1064
1065
- @dataclass
1065
+ @dataclass ( repr = False )
1066
1066
class StructuredAlias (YAMLRoot ):
1067
1067
"""
1068
1068
object that contains meta data about a synonym or alias including where it came from (source) and its scope
@@ -1254,7 +1254,7 @@ class Expression(YAMLRoot):
1254
1254
class_model_uri : ClassVar [URIRef ] = LINKML .Expression
1255
1255
1256
1256
1257
- @dataclass
1257
+ @dataclass ( repr = False )
1258
1258
class TypeExpression (Expression ):
1259
1259
"""
1260
1260
An abstract class grouping named types and anonymous type expressions
@@ -1322,7 +1322,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
1322
1322
super ().__post_init__ (** kwargs )
1323
1323
1324
1324
1325
- @dataclass
1325
+ @dataclass ( repr = False )
1326
1326
class EnumExpression (Expression ):
1327
1327
"""
1328
1328
An expression that constrains the range of a slot
@@ -1386,7 +1386,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
1386
1386
super ().__post_init__ (** kwargs )
1387
1387
1388
1388
1389
- @dataclass
1389
+ @dataclass ( repr = False )
1390
1390
class AnonymousExpression (YAMLRoot ):
1391
1391
"""
1392
1392
An abstract parent class for any nested expression
@@ -1555,7 +1555,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
1555
1555
super ().__post_init__ (** kwargs )
1556
1556
1557
1557
1558
- @dataclass
1558
+ @dataclass ( repr = False )
1559
1559
class PathExpression (YAMLRoot ):
1560
1560
"""
1561
1561
An expression that describes an abstract path from an object to another through a sequence of slot lookups
@@ -1760,7 +1760,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
1760
1760
super ().__post_init__ (** kwargs )
1761
1761
1762
1762
1763
- @dataclass
1763
+ @dataclass ( repr = False )
1764
1764
class SlotExpression (Expression ):
1765
1765
"""
1766
1766
an expression that constrains the range of values a slot can take
@@ -1884,7 +1884,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
1884
1884
super ().__post_init__ (** kwargs )
1885
1885
1886
1886
1887
- @dataclass
1887
+ @dataclass ( repr = False )
1888
1888
class AnonymousSlotExpression (AnonymousExpression ):
1889
1889
_inherited_slots : ClassVar [List [str ]] = ["range" , "required" , "recommended" , "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" ]
1890
1890
@@ -2005,7 +2005,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
2005
2005
super ().__post_init__ (** kwargs )
2006
2006
2007
2007
2008
- @dataclass
2008
+ @dataclass ( repr = False )
2009
2009
class SlotDefinition (Definition ):
2010
2010
"""
2011
2011
an element that describes how instances are related to other instances
@@ -2304,7 +2304,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
2304
2304
super ().__post_init__ (** kwargs )
2305
2305
2306
2306
2307
- @dataclass
2307
+ @dataclass ( repr = False )
2308
2308
class ClassExpression (YAMLRoot ):
2309
2309
"""
2310
2310
A boolean expression that can be used to dynamically determine membership of a class
@@ -2344,7 +2344,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
2344
2344
super ().__post_init__ (** kwargs )
2345
2345
2346
2346
2347
- @dataclass
2347
+ @dataclass ( repr = False )
2348
2348
class AnonymousClassExpression (AnonymousExpression ):
2349
2349
_inherited_slots : ClassVar [List [str ]] = []
2350
2350
@@ -2385,7 +2385,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
2385
2385
super ().__post_init__ (** kwargs )
2386
2386
2387
2387
2388
- @dataclass
2388
+ @dataclass ( repr = False )
2389
2389
class ClassDefinition (Definition ):
2390
2390
"""
2391
2391
an element whose instances are complex objects that may have slot-value assignments
@@ -2520,7 +2520,7 @@ class ClassLevelRule(YAMLRoot):
2520
2520
class_model_uri : ClassVar [URIRef ] = LINKML .ClassLevelRule
2521
2521
2522
2522
2523
- @dataclass
2523
+ @dataclass ( repr = False )
2524
2524
class ClassRule (ClassLevelRule ):
2525
2525
"""
2526
2526
A rule that applies to instances of a class
@@ -2713,7 +2713,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
2713
2713
super ().__post_init__ (** kwargs )
2714
2714
2715
2715
2716
- @dataclass
2716
+ @dataclass ( repr = False )
2717
2717
class ArrayExpression (YAMLRoot ):
2718
2718
"""
2719
2719
defines the dimensions of an array
@@ -2900,7 +2900,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
2900
2900
super ().__post_init__ (** kwargs )
2901
2901
2902
2902
2903
- @dataclass
2903
+ @dataclass ( repr = False )
2904
2904
class DimensionExpression (YAMLRoot ):
2905
2905
"""
2906
2906
defines one of the dimensions of an array
@@ -3085,7 +3085,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
3085
3085
super ().__post_init__ (** kwargs )
3086
3086
3087
3087
3088
- @dataclass
3088
+ @dataclass ( repr = False )
3089
3089
class PatternExpression (YAMLRoot ):
3090
3090
"""
3091
3091
a regular expression pattern used to evaluate conformance of a string
@@ -3266,7 +3266,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
3266
3266
super ().__post_init__ (** kwargs )
3267
3267
3268
3268
3269
- @dataclass
3269
+ @dataclass ( repr = False )
3270
3270
class ImportExpression (YAMLRoot ):
3271
3271
"""
3272
3272
an expression describing an import
@@ -3448,7 +3448,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
3448
3448
super ().__post_init__ (** kwargs )
3449
3449
3450
3450
3451
- @dataclass
3451
+ @dataclass ( repr = False )
3452
3452
class Setting (YAMLRoot ):
3453
3453
"""
3454
3454
assignment of a key to a value
@@ -3477,7 +3477,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
3477
3477
super ().__post_init__ (** kwargs )
3478
3478
3479
3479
3480
- @dataclass
3480
+ @dataclass ( repr = False )
3481
3481
class Prefix (YAMLRoot ):
3482
3482
"""
3483
3483
prefix URI tuple
@@ -3506,7 +3506,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
3506
3506
super ().__post_init__ (** kwargs )
3507
3507
3508
3508
3509
- @dataclass
3509
+ @dataclass ( repr = False )
3510
3510
class LocalName (YAMLRoot ):
3511
3511
"""
3512
3512
an attributed label
@@ -3535,7 +3535,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
3535
3535
super ().__post_init__ (** kwargs )
3536
3536
3537
3537
3538
- @dataclass
3538
+ @dataclass ( repr = False )
3539
3539
class Example (YAMLRoot ):
3540
3540
"""
3541
3541
usage example and description
@@ -3561,7 +3561,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
3561
3561
super ().__post_init__ (** kwargs )
3562
3562
3563
3563
3564
- @dataclass
3564
+ @dataclass ( repr = False )
3565
3565
class AltDescription (YAMLRoot ):
3566
3566
"""
3567
3567
an attributed description
@@ -3590,7 +3590,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
3590
3590
super ().__post_init__ (** kwargs )
3591
3591
3592
3592
3593
- @dataclass
3593
+ @dataclass ( repr = False )
3594
3594
class PermissibleValue (YAMLRoot ):
3595
3595
"""
3596
3596
a permissible value, accompanied by intended text and an optional mapping to a concept URI
@@ -3782,7 +3782,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):
3782
3782
super ().__post_init__ (** kwargs )
3783
3783
3784
3784
3785
- @dataclass
3785
+ @dataclass ( repr = False )
3786
3786
class UniqueKey (YAMLRoot ):
3787
3787
"""
3788
3788
a collection of slots whose values uniquely identify an instance of a class
0 commit comments