superset-api-client
superset-api-client copied to clipboard
A Python Client for Apache Superset REST API
Code: from supersetapiclient.client import SupersetClient def rename_chart(slice_id, superset_client): try: chart = superset_client.charts.get(slice_id) print(chart) except: print(f"Chart with ID '{slice_id}' not found.") return new_name = f"TO BE DEPRECATED SOON - {chart.slice_name}" chart.slice_name...
The roles input field is revealed after enabling DASHBOARD_RBAC flag.  The information was already retrieved, but now also stored in the Dashboard during json processing.
The dashboard save method does not keep the position_json and thus graph position intact
Hi, I was wondering if there is a way to add charts to dashboard using the client. I manage to tweak `json_metadata` in order to change the dashboard layout but...
Add support in superset-api-client to authenticate to Superset API via oauth providers. Sample code snippet here that can be ported into this repository: https://github.com/opus-42/superset-api-client/issues/23#issuecomment-1207684446