Gordo-dataset

Latest version: v3.1.2

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

3.1.2

- Update inject up to 4.3.1 (83)

3.1.1

- Make `gordo_dataset.dataset._get_dataset` public (81)

3.1.0

- Rename `NesDataProvider` to Ren (79)
- `pd.concat()` optimization for `nes_provider` (78)

3.0.2

- `NesTimeSeriesDataset` tags assets (77)

3.0.1

- Additional directories for `NcsLookup` (76)

3.0.0

Changelog:
- [Assets config](https://github.com/equinor/gordo-dataset/blob/v3.0.0/gordo_dataset/assets_config.py#L115) changes the format and moved to `gordo_dataset.assets_config` module
- New [GordoBaseDataset.get_client_data()](https://github.com/equinor/gordo-dataset/blob/v3.0.0/gordo_dataset/base.py#L39) method used for loading data in gordo-client
- [inject](https://github.com/ivankorobkov/python-inject) dependency injection framework has been introduced. Helper function could be found in [gordo_dataset.dependencies](https://github.com/equinor/gordo-dataset/blob/v3.0.0/gordo_dataset/dependencies.py).
- `gordo_dataset.sensor_tags.normalize_sensor_tags` function is no longer available. Sensor tags information should be always stored and fetched from the dataset metadata: `dataset.get_metadata()['build_metadata']['dataset']`. Useful function in [gordo_dataset.sensor_tags](https://github.com/equinor/gordo-dataset/blob/v3.0.0/gordo_dataset/sensor_tag.py) and [gordo_dataset.dataset_metadata](https://github.com/equinor/gordo-dataset/blob/v3.0.0/gordo_dataset/dataset_metadata.py) module
- [GordoBaseDataProvider.load_series()](https://github.com/equinor/gordo-dataset/blob/v3.0.0/gordo_dataset/data_provider/base.py#L18) changes signature:

def load_series(
self,
train_start_date: datetime,
train_end_date: datetime,
tag_list: List[Union[str, SensorTag]],
dry_run: Optional[bool] = False,
**kwargs,
) -> Iterable[Tuple[pd.Series, Union[str, SensorTag]]]:
...

- [NcsLookup.lookup()](https://github.com/equinor/gordo-dataset/blob/v3.0.0/gordo_dataset/data_provider/ncs_lookup.py#L398) changes signature too:

def lookup(
self,
tags: List[Union[str, SensorTag]],
partitions: Iterable[Partition],
threads_count: int = 1,
base_dir: Optional[str] = None,
asset: Optional[str] = None,
) -> Iterable[TagLocations]:
...

`assets_config` argument is no longer needed here

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.