@@ -56,11 +56,11 @@ class Query(synalinks.DataModel):
5656
5757 data_model = SymbolicDataModel(schema=Query.schema())
5858 ```
59-
59+
6060 **Creating a `SymbolicDataModel` with `to_symbolic_data_model()`:**
61-
61+
6262 using a backend data model metaclass
63-
63+
6464 ```python
6565 class Query(synalinks.DataModel):
6666 query: str = synalinks.Field(
@@ -127,22 +127,22 @@ def schema(self):
127127 (dict): The JSON schema.
128128 """
129129 return self ._schema
130-
130+
131131 def json (self , key ):
132132 """Alias for the JSON object's value (impossible in `SymbolicDataModel`).
133-
133+
134134 Implemented to help the user to identifying issues.
135-
135+
136136 Raises:
137137 ValueError: The help message.
138138 """
139139 return self .value ()
140-
140+
141141 def value (self ):
142142 """The current value of the JSON object (impossible in `SymbolicDataModel`).
143-
143+
144144 Implemented to help the user to identifying issues.
145-
145+
146146 Raises:
147147 ValueError: The help message.
148148 """
@@ -203,7 +203,8 @@ def __and__(self, other):
203203 then concatenates this data model with the other.
204204
205205 Args:
206- other (SymbolicDataModel | DataModel): The other data model to concatenate with.
206+ other (SymbolicDataModel | DataModel): The other data model to concatenate
207+ with.
207208
208209 Returns:
209210 (SymbolicDataModel | None): The concatenated data model or None
@@ -222,7 +223,8 @@ def __rand__(self, other):
222223 then concatenates the other data model with this one.
223224
224225 Args:
225- other (SymbolicDataModel | DataModel): The other data model to concatenate with.
226+ other (SymbolicDataModel | DataModel): The other data model to concatenate
227+ with.
226228
227229 Returns:
228230 (SymbolicDataModel | None): The concatenated data model or None
@@ -244,8 +246,9 @@ def __or__(self, other):
244246 other (SymbolicDataModel): The other data model to concatenate with.
245247
246248 Returns:
247- (SymbolicDataModel | None): The concatenation of data model if both are provided,
248- or the non-None data model or None if none are provided. (See `logical_or` table).
249+ (SymbolicDataModel | None): The concatenation of data model if both are
250+ provided, or the non-None data model or None if none are provided.
251+ (See `logical_or` table).
249252 """
250253 from synalinks .src import ops
251254
@@ -260,11 +263,13 @@ def __ror__(self, other):
260263 then concatenates the other data model with this one.
261264
262265 Args:
263- other (SymbolicDataModel | DataModel): The other data model to concatenate with.
266+ other (SymbolicDataModel | DataModel): The other data model to concatenate
267+ with.
264268
265269 Returns:
266- (SymbolicDataModel | None): The concatenation of data model if both are provided,
267- or the non-None data model or None if none are provided. (See `logical_or` table).
270+ (SymbolicDataModel | None): The concatenation of data model if both are
271+ provided, or the non-None data model or None if none are provided.
272+ (See `logical_or` table).
268273 """
269274 from synalinks .src import ops
270275
@@ -290,7 +295,7 @@ def in_mask(self, mask=None, recursive=True):
290295 Args:
291296 mask (list): The mask to be applied (list of keys).
292297 recursive (bool): Optional. Whether to apply the mask recursively.
293- Defaults to True.
298+ Defaults to ` True` .
294299
295300 Returns:
296301 (SymbolicDataModel): The data model with the mask applied.
@@ -307,7 +312,7 @@ def out_mask(self, mask=None, recursive=True):
307312 Args:
308313 mask (list): The mask to be applied (list of keys).
309314 recursive (bool): Optional. Whether to apply the mask recursively.
310- Defaults to True.
315+ Defaults to ` True` .
311316
312317 Returns:
313318 (SymbolicDataModel): The data model with the mask applied.
@@ -350,12 +355,12 @@ def suffix(self, suffix=None):
350355
351356 def get (self , key ):
352357 """Get wrapper to make easier to access fields.
353-
358+
354359 Implemented to help the user to identifying issues.
355360
356361 Args:
357362 key (str): The key to access.
358-
363+
359364 Raises:
360365 ValueError: The help message.
361366 """
@@ -368,12 +373,12 @@ def get(self, key):
368373
369374 def update (self , kv_dict ):
370375 """Update wrapper to make easier to modify fields.
371-
376+
372377 Implemented to help the user to identifying issues.
373378
374379 Args:
375380 kv_dict (dict): The key/value dict to update.
376-
381+
377382 Raises:
378383 ValueError: The help message.
379384 """
0 commit comments