Closes #2197: SDK drift: Python's SIX_DEC_SCALE in _hosted_mappers.py lacks the underscore-private naming its TypeScript counterpart and its own Python sibling use
#578
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Verify Python Client Methods | |
| on: | |
| pull_request: | |
| jobs: | |
| verify: | |
| name: Verify client.py methods are up-to-date | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Install dependencies | |
| run: npm install --workspace=pmxt-core | |
| - name: Regenerate client methods | |
| run: node sdks/python/scripts/generate-client-methods.js | |
| - name: Check if client.py changed | |
| run: | | |
| if git diff --exit-code sdks/python/pmxt/client.py; then | |
| echo "client.py methods are up-to-date" | |
| else | |
| echo "client.py methods are out of sync with BaseExchange.ts" | |
| echo "Run: node sdks/python/scripts/generate-client-methods.js" | |
| exit 1 | |
| fi |