package_info
#
(Legacy) Low-level implementation of a PackageRecord.
Classes#
Fields are doing something very similar to boxing and unboxing |
|
- class NoarchField(enum_class, default=NULL, required=True, validation=None, in_dump=True, default_in_dump=True, nullable=False, immutable=False, aliases=())#
Bases:
conda.auxlib.entity.EnumField
Fields are doing something very similar to boxing and unboxing of c#/java primitives. __set__ should take a "primitive" or "raw" value and create a "boxed" or "programmatically usable" value of it. While __get__ should return the boxed value, dump in turn should unbox the value into a primitive or raw value.
- Parameters:
types (primitive literal or type or sequence of types)
default (any, callable, optional) -- If default is callable, it's guaranteed to return a valid value at the time of Entity creation.
required (boolean, optional)
validation (callable, optional)
dump (boolean, optional)
- box(instance, instance_type, val)#
- class Noarch(**kwargs)#
Bases:
conda.auxlib.entity.Entity
- type#
- entry_points#
- class PreferredEnv(**kwargs)#
Bases:
conda.auxlib.entity.Entity
- name#
- executable_paths#
- softlink_paths#
- class PackageMetadata(**kwargs)#
Bases:
conda.auxlib.entity.Entity
- package_metadata_version#
- noarch#
- preferred_env#