Skip to content

Commit b1e3212

Browse files
gustavocidornelaswhoseoyster
authored andcommitted
Remove jupyter from client dependencies
1 parent 0867e7c commit b1e3212

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

CHANGELOG.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
2020
* Warnings if the dependencies from the `requirement_txt_file` and current environment are inconsistent.
2121
* Paths to custom SSL certificates can now be modified by altering `openlayer.api.VERIFY_REQUESTS`. The value can either be True (default), False, or a path to a certificate.
2222
* Ability to check for goal statuses through the API.
23-
* New method `send_stream_data` for inference pipelines that is used for real time streaming of small bits of data.
2423

2524
### Changed
2625

27-
* Renamed conda environment created by the model runner from `new-openlayer` to `model-runner-env-%m-%d-%H-%M-%S-%f`.
26+
* Renamed conda environment created by the model runner from `new-openlayer` to `model-runner-env-%m-%d-%H-%M-%S-%f`.
2827
* Modified the zero-index integer checks for `predictionsColumnName` and `labelColumnName` to support dataset uploads with only a sample of the classes.
29-
* Renamed `predictionsColumnName` argument from the datasets' configuration YAML to `predictionScoresColumnName`.
28+
* Renamed `predictionsColumnName` argument from the datasets' configuration YAML to `predictionScoresColumnName`.
3029
* Migrated package name from [openlayer](https://pypi.org/project/openlayer/) to [openlayer](https://pypi.org/project/openlayer/) due to a company name change.
3130
* Required Python version `>=3.7` and `<3.9`.

openlayer/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,7 +1131,7 @@ def stream_data(
11311131
def _strip_read_only_fields(self, config: Dict[str, any]) -> Dict[str, any]:
11321132
"""Strips read-only fields from the config."""
11331133
stripped_config = copy.deepcopy(config)
1134-
for field in {"columnNames", "label"}:
1134+
for field in ["columnNames", "label"]:
11351135
stripped_config.pop(field, None)
11361136
return stripped_config
11371137

@@ -1207,7 +1207,7 @@ def publish_batch_data(
12071207

12081208
def _validate_production_data_and_load_config(
12091209
self,
1210-
task_type: tasks.TaskType,
1210+
task_type: TaskType,
12111211
config: Dict[str, any],
12121212
config_file_path: str,
12131213
df: pd.DataFrame,

setup.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ packages =
4141
install_requires =
4242
anthropic
4343
cohere
44-
jupyter
4544
marshmallow
4645
marshmallow_oneofschema
4746
openai>=1.0.0

0 commit comments

Comments
 (0)