Skip to content

Default APL query format to tabular#182

Open
gilfoyle-sre[bot] wants to merge 2 commits intomainfrom
gilfoyle/default-tabular-query-format
Open

Default APL query format to tabular#182
gilfoyle-sre[bot] wants to merge 2 commits intomainfrom
gilfoyle/default-tabular-query-format

Conversation

@gilfoyle-sre
Copy link
Copy Markdown

@gilfoyle-sre gilfoyle-sre bot commented Mar 13, 2026

This flips axiom-py APL query defaults from legacy to tabular so the SDK no longer drives legacy-format traffic unless callers explicitly request it.

Slack context: <https://watchlyhq.slack.com/archives/C0ABV843Y9M/p1773440506177029|#gilfoyle-sessions thread>

The change applies to both Client and AsyncClient defaults, while keeping explicit AplResultFormat.Legacy behavior unchanged. Tests were updated to assert the async default now sends format=tabular, and a focused unit test now locks the default for sync options.

Validation:

  • python3 -m pytest tests/test_client_async.py tests/test_query_defaults.py
  • python3 -m ruff check src/axiom_py/client.py src/axiom_py/client_async.py tests/test_client_async.py tests/test_query_defaults.py
  • python3 -m ruff format --check src/axiom_py/client.py src/axiom_py/client_async.py tests/test_client_async.py tests/test_query_defaults.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant