superset-api-client icon indicating copy to clipboard operation
superset-api-client copied to clipboard

A Python Client for Apache Superset REST API

Results 5 superset-api-client issues
Sort by recently updated
recently updated
newest added

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. ![image](https://user-images.githubusercontent.com/2744620/184425430-9fa25936-eb7c-490f-abf3-1c5230fe9d3f.png) 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

bug

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

enhancement