Skip to content

fix: map inner export dara filenames to snake_case Python modules - #140

Closed
yndu13 wants to merge 1 commit into
masterfrom
feature/aone-85574873-websocket-module-path
Closed

yndu13 wants to merge 1 commit into
masterfrom
feature/aone-85574873-websocket-module-path

Conversation

@yndu13

@yndu13 yndu13 commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Inner Dara export paths are split with POSIX/Windows separators and converted to snake_case Python modules (websocketUtils → websocket_utils).
  • Codegen now rejects leftover camelCase module names so invalid websocketUtils_models imports cannot ship.
  • Compatible bugfix; existing snake_case imports are unchanged.

Keep websocketUtils.dara imports on websocket_utils regardless of path.sep, and fail codegen if a module name is still camelCase.
@yndu13 yndu13 closed this Aug 18, 2026
@yndu13

yndu13 commented Aug 18, 2026

Copy link
Copy Markdown
Contributor Author

Closing this PR. @darabonba/python-generator ^2.0.14 already maps inner export module names to snake_case, so no generator change is needed this round. The python-tea worker will pick up 2.0.14 and republish affected products from the SDK release platform.

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