Module core.steps.deployer.cortex_deployer

Classes

CortexDeployer(api_config: Dict, predictor=None, requirements: List = None, conda_packages: List = None, env: str = 'gcp', force: bool = True, wait: bool = False, **kwargs) : Step class for deploying models using Cortex.

Cortex Deployer Step constructor.

Use this step to push your trained model via the
[Cortex API](https://docs.cortex.dev/).

Args:
    api_spec: A dictionary defining a single Cortex API. See
    https://docs.cortex.dev/v/0.27/ for schema.
    predictor: A Cortex Predictor class implementation. Not required
    for TaskAPI/TrafficSplitter kinds.
    requirements: A list of PyPI dependencies that will be installed
    before the predictor class implementation is invoked.
    conda_packages: A list of Conda dependencies that will be
    installed before the predictor class implementation is invoked.
    force: Override any in-progress api updates.
    wait: Streams logs until the APIs are ready.

### Ancestors (in MRO)

* zenml.core.steps.deployer.base_deployer.BaseDeployerStep
* zenml.core.steps.base_step.BaseStep

### Methods

`get_config(self)`
:

`get_executor(self)`
: