yggdrasil.databricks.wheels.wheel¶
wheel ¶
Wheel — a single wheel in the workspace PyPI-like registry.
A handle over a .whl at /Workspace/Shared/pypi/<dist>/<wheel>: its
distribution + :class:~yggdrasil.version.VersionInfo parsed from the filename,
plus the file ops (exists / read / download / delete) routed through the
workspace filesystem. Built by the
:class:~yggdrasil.databricks.wheels.service.Wheels service.
Wheel ¶
Bases: DatabricksResource
A deployed wheel — <dist>-<version>-<pytag>.whl in the registry.
explore_url
property
¶
Workspace UI deep-link for this resource, or None.
Concrete resources (:class:Catalog, :class:Schema,
:class:Volume, :class:Table, :class:SQLWarehouse,
:class:Job, :class:VolumePath, …) override this to return
the /explore/data/... / /sql/warehouses/... / /jobs/...
URL that opens the resource in the workspace UI. The inherited
:class:ExploreUrlRepr keys off the override — anything that returns
a non-None URL gets a ClassName(<url>) repr (and a clickable
_repr_html_) for free without restating it on every subclass.
sql
property
¶
Shorthand for self.service.client.sql — the active :class:SQLEngine.
download ¶
Pull the wheel down to local dest (a file or directory).