astro.utils.table
Module Contents
Functions
|
When we create our SQL operation, we run with the assumption that the first table given is the "main table". |
- astro.utils.table.find_first_table(op_args, op_kwargs, python_callable, parameters)
When we create our SQL operation, we run with the assumption that the first table given is the “main table”. This means that a user doesn’t need to define default conn_id, database, etc. in the function unless they want to create default values.
- Parameters
parameters (dict) – user-defined parameters to be injected into SQL statement
op_args (tuple) –
op_kwargs (dict) –
python_callable (Callable) –
- Returns
the first table declared as decorator arg or kwarg
- Return type
Optional[astro.sql.table.Table]