Definition
Project files
./my-classifier/
├── cortex.yaml
├── values.json
├── task.py
├── ...
└── requirements.txtimport json
class Task:
def __call__(self, config):
with open('values.json', 'r') as values_file:
values = json.load(values_file)
self.values = valuesTask
Interface
Structured logging
Cortex Python client
Last updated