Returns the supplied workspace if present, otherwise the default workspace configured on the GoFigr client. Throws an error if neither is available.
infer_workspace(gf, workspace)A workspace object or API ID suitable for passing to other helpers.
GoFigr client.
Optional workspace object or API ID. If `NULL`, the client's default workspace is used.