You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/python-sdk/topics/object_file.mdx
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,6 @@ spec:
83
83
address: "192.168.1.1"
84
84
```
85
85
86
-
87
86
### Relationship of cardinality Many
88
87
89
88
A relationship of cardinality many can reference existing nodes via their HFID or define nested objects
@@ -112,14 +111,13 @@ spec:
112
111
- [Breeder] # Existing Node referenced by its HFID in list format
113
112
```
114
113
115
-
116
-
117
114
#### Nested Objects
118
115
119
116
When defining nested objects, the node will be automatically created if it doesn't exist and if their relationship between the parent object and the nested object it will be automatically inserted.
120
117
For example, in the example below, the `owner` of a `TestingDog` doesn't need to be specify because it will be automatically inserted.
121
118
122
119
For 2 different syntaxes are supported:
120
+
123
121
- A dictionnary with multiple value under data
124
122
- A list of objects
125
123
@@ -180,4 +178,3 @@ spec:
180
178
### Support for Metadata
181
179
182
180
Please stay tuned, the Object file does not support metadata yet, neither on attribute or relationship.
0 commit comments