-
Notifications
You must be signed in to change notification settings - Fork 1
Models
Stache edited this page Jun 16, 2022
·
2 revisions
Models are an abstraction of data sources. They aim to describe, complete, and enhance the information of unknown data, so that the information related to the data can be re-applied to new data.
A Model is an abstraction of a data source. It is roughly composed of two important elements:
-
traversal
: Contains all the information associated with the paths (accessors) of the data source. cf. Attributes. -
context
: Provides additional information allowing the computer to interpret the rest of the data with more clarity and depth.
In addition, additional information can be brought to a Model:
-
name
: Because it is always interesting to know what it is. -
changes
: The list of changes made to a model, based on the examples of additional data sources made.
from argonodes.models import Model
tree = ...
model = Model(name="My model", tree=tree)