maxc-cli 0.1.7__tar.gz → 0.1.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/PKG-INFO +1 -1
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/setup.py +1 -1
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/__init__.py +1 -1
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/backend/query.py +5 -5
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli.egg-info/PKG-INFO +1 -1
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/MANIFEST.in +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/README.md +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/pyproject.toml +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/scripts/regression_test.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/setup.cfg +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/__main__.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/app.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/audit.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/auth_providers.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/backend/__init__.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/backend/auth.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/backend/catalog.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/backend/data.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/backend/job.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/backend/meta.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/backend/odps.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/cache.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/cli.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/config.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/exceptions.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/helpers.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/masking.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/models.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/output.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/setting_parser.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/skills/SKILL.md +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/skills/agents/openai.yaml +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/skills/nohup.out +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/skills/references/bootstrap-auth.md +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/skills/references/command-patterns.md +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/skills/references/maxcompute-sql-notes.md +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/skills/references/migrate-from-odpscmd.md +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/skills/references/partition-guide.md +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/skills/references/setup-install.md +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/store.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli/utils.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli.egg-info/SOURCES.txt +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli.egg-info/dependency_links.txt +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli.egg-info/entry_points.txt +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli.egg-info/requires.txt +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/src/maxc_cli.egg-info/top_level.txt +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/tests/test_agent_hints_and_cli.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/tests/test_agent_skill_commands_context.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/tests/test_cache.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/tests/test_catalog.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/tests/test_cli_mock.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/tests/test_compat.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/tests/test_e2e_smoke.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/tests/test_error_self_correction.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/tests/test_external_auth.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/tests/test_integration.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/tests/test_integration_real.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/tests/test_job_improvements.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/tests/test_masking.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/tests/test_phase1_improvements.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/tests/test_query_auto_promote.py +0 -0
- {maxc_cli-0.1.7 → maxc_cli-0.1.8}/tests/test_setting_parser.py +0 -0
|
@@ -9,7 +9,7 @@ README = ROOT / "README.md"
|
|
|
9
9
|
|
|
10
10
|
setup(
|
|
11
11
|
name="maxc-cli",
|
|
12
|
-
version="0.1.
|
|
12
|
+
version="0.1.8",
|
|
13
13
|
description="Agent-native MaxCompute CLI for external coding agents",
|
|
14
14
|
long_description=README.read_text(encoding="utf-8"),
|
|
15
15
|
long_description_content_type="text/markdown",
|
|
@@ -112,7 +112,7 @@ class QueryMixin:
|
|
|
112
112
|
)
|
|
113
113
|
|
|
114
114
|
try:
|
|
115
|
-
instance = self.client.
|
|
115
|
+
instance = self.client.run_sql(
|
|
116
116
|
actual_sql, project=project, hints=hints,
|
|
117
117
|
)
|
|
118
118
|
except Exception as exc:
|
|
@@ -207,9 +207,9 @@ class QueryMixin:
|
|
|
207
207
|
):
|
|
208
208
|
"""Submit a query for async execution without waiting.
|
|
209
209
|
|
|
210
|
-
Calls ``client.
|
|
211
|
-
|
|
212
|
-
|
|
210
|
+
Calls ``client.run_sql()`` to create the instance without waiting
|
|
211
|
+
for completion. Returns immediately with a job ID that can be
|
|
212
|
+
polled via ``wait_job`` / ``get_job``.
|
|
213
213
|
|
|
214
214
|
Args:
|
|
215
215
|
sql: SQL query, optionally prefixed with SET statements.
|
|
@@ -225,7 +225,7 @@ class QueryMixin:
|
|
|
225
225
|
actual_sql, hints = _parse_sql_with_hints(sql, force=force)
|
|
226
226
|
|
|
227
227
|
try:
|
|
228
|
-
instance = self.client.
|
|
228
|
+
instance = self.client.run_sql(
|
|
229
229
|
actual_sql,
|
|
230
230
|
project=project,
|
|
231
231
|
hints=hints,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|