Right now if I want to access spec details for a bigquery remote function I have to use the hidden properties, e.g.
routines = bq_client.list_routines(f"{gcp_project_id}.{bq_dataset}")
for routine in routines:
rf_options = routine._properties.get("remoteFunctionOptions")
if rf_options:
http_endpoint = rf_options.get("endpoint")
bq_connection = rf_options.get("connection")
which is not ideal and takes a bit of figuring out. It would be nice to have it exposed via first class properties, which can be used like
routines = bq_client.list_routines(f"{gcp_project_id}.{bq_dataset}")
for routine in routines:
rf_options = routine.remote_function_options
if rf_options:
http_endpoint = rf_options.endpoint
bq_connection = rf_options.connection
Right now if I want to access spec details for a bigquery remote function I have to use the hidden properties, e.g.
which is not ideal and takes a bit of figuring out. It would be nice to have it exposed via first class properties, which can be used like