Skip to content

feat(logstore): support enable modify - #366

Merged
crimson-gao merged 1 commit into
aliyun:masterfrom
sls-dev-agent:feat/logstore-enable-modify
Aug 12, 2026
Merged

feat(logstore): support enable modify#366
crimson-gao merged 1 commit into
aliyun:masterfrom
sls-dev-agent:feat/logstore-enable-modify

Conversation

@sls-dev-agent

@sls-dev-agent sls-dev-agent commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add enable_logstore_modify for existing logstores
  • expose enableModify through GetLogStoreResponse, defaulting to false
    when older responses omit the field
  • add and update public type stubs
  • bump the package version from 0.9.48 to 0.9.49

The enable request sends PUT /logstores/{logstore}/modification with
{"enabled":true}. A successful response means the asynchronous conversion
was accepted.

Testing

  • python3 -m pytest tests/unit -q (40 passed, 8 skipped)
  • python3 -m pytest tests/unit/test_logclient_mock.py tests/ci/build-test/ -q
    (17 passed)
  • built wheel and verified version 0.9.49

@crimson-gao
crimson-gao merged commit 1c09b7b into aliyun:master Aug 12, 2026
12 checks passed
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.

2 participants