We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steps to reproduce: List the minimal actions needed to reproduce the behavior.
from influxdb_client import CellsService from influxdb_client.domain.create_cell import CreateCell create_cell_request = CreateCell(name="test", h=3, w=12) cell = CellsService().post_dashboards_id_cells(dashboard_id=dashboard_id, create_cell=create_cell_request) print(cell.get('id'))
The issue is at
influxdb-client-python/influxdb_client/service/cells_service.py
Line 378 in e34637d
The response_type should have been object.
response_type
object
PS: This issue is also in various other places of the code as well. The services should return object but they dont.
Expected behavior: This should have returned a dict on which the get method can be used.
dict
get
Actual behavior: AttributeError: 'Cell' object has no attribute 'get'
Specifications:
The text was updated successfully, but these errors were encountered:
@bednar Another issue with OpenAPI specification. Can you please take a look?
Sorry, something went wrong.
Ok, so my issue is reversed. Cell object being returned is fine. But the Dashboard returns a dict instead of an object. That seems inconsistent.
Cell
Dashboard
@abhi1693 thanks for using our client, we will take a look
Threshold
DashboardService
Successfully merging a pull request may close this issue.
Steps to reproduce:
List the minimal actions needed to reproduce the behavior.
The issue is at
influxdb-client-python/influxdb_client/service/cells_service.py
Line 378 in e34637d
The
response_type
should have beenobject
.PS: This issue is also in various other places of the code as well. The services should return
object
but they dont.Expected behavior:
This should have returned a
dict
on which theget
method can be used.Actual behavior:
AttributeError: 'Cell' object has no attribute 'get'
Specifications:
The text was updated successfully, but these errors were encountered: