links¶
Aggregate
¶
Bases: Enum
Enumeration of aggregate values
Source code in optimade/models/links.py
25 26 27 28 29 30 31 |
|
LinkType
¶
Bases: Enum
Enumeration of link_type values
Source code in optimade/models/links.py
16 17 18 19 20 21 22 |
|
LinksResource
¶
Bases: EntryResource
A Links endpoint resource object
Source code in optimade/models/links.py
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 |
|
attributes
instance-attribute
¶
id
instance-attribute
¶
links = None
class-attribute
instance-attribute
¶
meta = None
class-attribute
instance-attribute
¶
model_config = ConfigDict(json_schema_extra=resource_json_schema_extra)
class-attribute
instance-attribute
¶
relationships = None
class-attribute
instance-attribute
¶
type = 'links'
class-attribute
instance-attribute
¶
relationships_must_not_be_present()
¶
Source code in optimade/models/links.py
116 117 118 119 120 |
|
LinksResourceAttributes
¶
Bases: Attributes
Links endpoint resource object attributes
Source code in optimade/models/links.py
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
|
aggregate = Aggregate.OK
class-attribute
instance-attribute
¶
base_url
instance-attribute
¶
description
instance-attribute
¶
homepage
instance-attribute
¶
link_type
instance-attribute
¶
model_config = ConfigDict(extra='allow')
class-attribute
instance-attribute
¶
name
instance-attribute
¶
no_aggregate_reason = None
class-attribute
instance-attribute
¶
check_illegal_attributes_fields()
¶
Source code in optimade/models/jsonapi.py
330 331 332 333 334 335 336 337 338 |
|