Marquez is an open source metadata service for the collection, aggregation, and visualization of a data ecosystem's metadata.
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 0.1.0
- Package version: 0.1.5
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Python 2.7 and 3.4+
If the python package is hosted on Github, you can install directly from Github
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip
with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
)
Then import the package:
import marquez_codegen_client
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import marquez_codegen_client
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import marquez_codegen_client
from marquez_codegen_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = marquez_codegen_client.DatasetsApi(marquez_codegen_client.ApiClient(configuration))
namespace = wework # str | The name of the namespace. (default to 'wework')
try:
# List all datasets
api_response = api_instance.namespaces_namespace_datasets_get(namespace)
pprint(api_response)
except ApiException as e:
print("Exception when calling DatasetsApi->namespaces_namespace_datasets_get: %s\n" % e)
All URIs are relative to http://localhost:5000/api/v1
Class | Method | HTTP request | Description |
---|---|---|---|
DatasetsApi | namespaces_namespace_datasets_get | GET /namespaces/{namespace}/datasets | List all datasets |
JobsApi | jobs_runs_id_abort_put | PUT /jobs/runs/{id}/abort | Abort a job run |
JobsApi | jobs_runs_id_complete_put | PUT /jobs/runs/{id}/complete | Complete a job run |
JobsApi | jobs_runs_id_fail_put | PUT /jobs/runs/{id}/fail | Fail a job run |
JobsApi | jobs_runs_id_get | GET /jobs/runs/{id} | Retrieve a job run |
JobsApi | jobs_runs_id_outputs_get | GET /jobs/runs/{id}/outputs | List all job run outputs |
JobsApi | jobs_runs_id_outputs_put | PUT /jobs/runs/{id}/outputs | Create multiple output datasets |
JobsApi | jobs_runs_id_run_put | PUT /jobs/runs/{id}/run | Start a job run |
JobsApi | namespaces_namespace_jobs_get | GET /namespaces/{namespace}/jobs | List all jobs |
JobsApi | namespaces_namespace_jobs_job_get | GET /namespaces/{namespace}/jobs/{job} | Retrieve a job |
JobsApi | namespaces_namespace_jobs_job_put | PUT /namespaces/{namespace}/jobs/{job} | Create a job |
JobsApi | namespaces_namespace_jobs_job_runs_get | GET /namespaces/{namespace}/jobs/{job}/runs | List all job runs |
JobsApi | namespaces_namespace_jobs_job_runs_post | POST /namespaces/{namespace}/jobs/{job}/runs | Create a job run |
JobsApi | namespaces_namespace_jobs_job_versions_get | GET /namespaces/{namespace}/jobs/{job}/versions | List all job versions |
NamespacesApi | namespaces_get | GET /namespaces | List all namespaces |
NamespacesApi | namespaces_namespace_get | GET /namespaces/{namespace} | Retrieve a namespace |
NamespacesApi | namespaces_namespace_put | PUT /namespaces/{namespace} | Create a namespace |
- CreateJob
- CreateJobRun
- CreateNamespace
- DB
- Dataset
- Datasets
- ICEBERG
- Job
- JobRun
- JobRunId
- JobRunOutputs
- JobRuns
- JobVersion
- JobVersions
- Jobs
- Namespace
- Namespaces
All endpoints do not require authorization.