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