Skip to content

PypiPackageEnvironmentData#

extras: Set[str] property #

The extras enabled for the package. Note that the order doesn't matter.

Examples#

>>> from rattler import LockFile, Platform
>>> lock_file = LockFile.from_path("../test-data/test.lock")
>>> env = lock_file.default_environment()
>>> pypi_packages = env.pypi_packages()
>>> env_data = pypi_packages[Platform("osx-arm64")][0][1]
>>> env_data.extras
set()
>>>

__repr__() #

Returns a representation of the PypiPackageEnvironmentData.