Skip to content

Commit b710f05

Browse files
committed
Changes 'Production' to 'production'
1 parent fa5b397 commit b710f05

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

openlayer/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ def create_inference_pipeline(
847847
self,
848848
project_id: str,
849849
task_type: TaskType,
850-
name: str = "Production",
850+
name: str = "production",
851851
description: Optional[str] = None,
852852
reference_df: Optional[pd.DataFrame] = None,
853853
reference_dataset_file_path: Optional[str] = None,
@@ -879,7 +879,7 @@ def create_inference_pipeline(
879879
except exceptions.OpenlayerResourceNotFound:
880880
# Validate inference pipeline
881881
inference_pipeline_config = {
882-
"name": name or "Production",
882+
"name": name or "production",
883883
"description": description or "Monitoring production data.",
884884
"storageType": api.STORAGE.value,
885885
}
@@ -964,7 +964,7 @@ def load_inference_pipeline(
964964
name: Optional[str] = None,
965965
) -> InferencePipeline:
966966
"""Loads an existing inference pipeline from an Openlayer project."""
967-
name = name or "Production"
967+
name = name or "production"
968968
endpoint = f"projects/{project_id}/inference-pipelines?name={name}"
969969
inference_pipeline_data = self.api.get_request(endpoint)
970970
if len(inference_pipeline_data["items"]) == 0:

openlayer/projects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ def create_inference_pipeline(self, *args, **kwargs):
612612
----------
613613
name : str
614614
Name of your inference pipeline. If not specified, the name will be
615-
set to ``"Production"``.
615+
set to ``"production"``.
616616
617617
.. important::
618618
The inference pipeline name must be unique within a project.
@@ -686,7 +686,7 @@ def load_inference_pipeline(self, *args, **kwargs):
686686
Name of the inference pipeline to be loaded.
687687
The name of the inference piepline is the one displayed on the
688688
Openlayer platform. If not specified, will try to load the
689-
inference pipeline named ``"Production"``.
689+
inference pipeline named ``"production"``.
690690
691691
.. note::
692692
If you haven't created the inference pipeline yet, you should use the

openlayer/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
data=data,
2323
)
2424
"""
25-
__version__ = "0.1.0a11"
25+
__version__ = "0.1.0a12"

0 commit comments

Comments
 (0)