余尚辉 b813422051 feat:init 1 month ago
..
__pycache__ b813422051 feat:init 1 month ago
README.md b813422051 feat:init 1 month ago
__init__.py b813422051 feat:init 1 month ago
channel.py b813422051 feat:init 1 month ago
dist.py b813422051 feat:init 1 month ago
enums.py b813422051 feat:init 1 month ago
leased_path_entry.py b813422051 feat:init 1 month ago
match_spec.py b813422051 feat:init 1 month ago
package_info.py b813422051 feat:init 1 month ago
prefix_graph.py b813422051 feat:init 1 month ago
records.py b813422051 feat:init 1 month ago
version.py b813422051 feat:init 1 month ago

README.md

conda.models

Models are data transfer objects or "light-weight" domain objects with no appreciable logic other than their own validation. Models are used to pass data between layers of the stack. In many ways, they are similar to ORM objects. Unlike ORM objects, they are NOT themselves allowed to load data from a remote resource. Thought of another way, they cannot import from conda.gateways, but rather conda.gateways imports from conda.models as appropriate to create model objects from remote resources.

Conda modules importable from conda.models are:

  • conda._vendor
  • conda.common
  • conda.models