database field in TimeseriesContainer: possible remnant from the migration from influx to timescale db
Bug Report
🐛 Summary
The instantiation of the TimeseriesContainer requires the definition of the field database.
📋 Steps to reproduce
- Just pip install the shepard-client in the version 3.0.2
- Try to instantiate the TimeseriesContainer
- During the instantiation the
databasefield is needed
📦 Environment
- shepard Version: Frontend Version: 3.0.2; Backend Version: 3.0.2
- Webbrowser and version: Microsoft Edge and version 133.0.3065.92 (Official Build) (64-Bit)
- shepard client and version: Python-Client, version 3.0.2
- Operating system: Windows 11 Enterprise 23H2 / 64-Bit
🥅 What is the expected correct behavior?
No additional field for database.
📓 Relevant logs and/or screenshots
test_container = timeseries_api.create_timeseries_container(
TimeseriesContainer(
name="Test Container",
id=-1,
created_at=datetime.now(), # type: ignore
created_by=author, # type: ignore
updated_at=datetime.now(), # type: ignore
updated_by=author, # type: ignore
database="Test Database",
)
)