Remove PipelineClient and GlassFlowClient.get_pipeline_client in favor of top level new classes PipelineDataSource and PipelineDataSink
New features
GlassFlow client accepts argument personal_access_token (needed for all the management related operations)
GlassFlow client has the following new methods:
create_pipeline: Creates a new pipeline
get_pipeline : Gets a Pipeline object from a pipeline_id
list_pipelines: Returns all pipelines available to the user
create_space: Creates a new space
list_spaces: Returns all spaces available to the user
New top level class Pipeline with methods:
fetch: fetches a pipeline from the API
create: creates a new pipeline
update: updates parameters from the pipeline
delete: deletes existing pipeline
get_source: gets a PipelineDataSource with the pipeline credentials
get_sink: gets a PipelineDataSink with the pipeline credentials
_get_access_tokens: Pulls the Pipeline's access tokens from the API
_get_function_source: Pulls the Pipeline's function source from the API
get_logs: Returns the logs from the function
New top level classes PipelineDataSource and PipelineDataSink have method validate_credentials which raises an error if the provided credentials are invalid.
New top level class Space with methods create and delete
Release v2.0.0
This release includes breaking changes.
Breaking changes
PipelineClient
andGlassFlowClient.get_pipeline_client
in favor of top level new classesPipelineDataSource
andPipelineDataSink
New features
personal_access_token
(needed for all the management related operations)create_pipeline
: Creates a new pipelineget_pipeline
: Gets a Pipeline object from a pipeline_idlist_pipelines
: Returns all pipelines available to the usercreate_space
: Creates a new spacelist_spaces
: Returns all spaces available to the userPipeline
with methods:fetch
: fetches a pipeline from the APIcreate
: creates a new pipelineupdate
: updates parameters from the pipelinedelete
: deletes existing pipelineget_source
: gets aPipelineDataSource
with the pipeline credentialsget_sink
: gets aPipelineDataSink
with the pipeline credentials_get_access_tokens
: Pulls the Pipeline's access tokens from the API_get_function_source
: Pulls the Pipeline's function source from the APIget_logs
: Returns the logs from the functionPipelineDataSource
andPipelineDataSink
have methodvalidate_credentials
which raises an error if the provided credentials are invalid.Space
with methodscreate
anddelete
Under the hood
make generate-api-data-models