Skip to content

Commit

Permalink
update enums value (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
2pd authored Aug 23, 2023
1 parent bcb7bb0 commit a417706
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v2
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 3.3.1 - 2023-08-23

### Changed
- Add missing enum values in the `User Universal Transfer` endpoint

## 3.3.0 - 2023-08-07

### Changed
Expand Down
2 changes: 1 addition & 1 deletion binance/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "3.3.0"
__version__ = "3.3.1"
14 changes: 13 additions & 1 deletion binance/lib/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ class TransferType(AutoName):
UMFUTURE_MAIN = auto()
UMFUTURE_MARGIN = auto()
CMFUTURE_MAIN = auto()
CMFUTURE_MARGIN = auto()
MARGIN_MAIN = auto()
MARGIN_UMFUTURE = auto()
MARGIN_CMFUTURE = auto()
CMFUTURE_MARGIN = auto()
ISOLATEDMARGIN_MARGIN = auto()
MARGIN_ISOLATEDMARGIN = auto()
ISOLATEDMARGIN_ISOLATEDMARGIN = auto()
Expand All @@ -28,3 +28,15 @@ class TransferType(AutoName):
FUNDING_MARGIN = auto()
FUNDING_CMFUTURE = auto()
CMFUTURE_FUNDING = auto()
MAIN_OPTION = auto()
OPTION_MAIN = auto()
UMFUTURE_OPTION = auto()
OPTION_UMFUTURE = auto()
MARGIN_OPTION = auto()
OPTION_MARGIN = auto()
FUNDING_OPTION = auto()
OPTION_FUNDING = auto()
MAIN_PORTFOLIO_MARGIN = auto()
PORTFOLIO_MARGIN_MAIN = auto()
MAIN_ISOLATED_MARGIN = auto()
ISOLATED_MARGIN_MAIN = auto()
9 changes: 9 additions & 0 deletions docs/source/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
Changelog
=========

3.3.1 - 2023-08-23
------------------

Changed
^^^^^^^

* Add missing enum values in the ``User Universal Transfer`` endpoint


3.3.0 - 2023-08-07
------------------

Expand Down

0 comments on commit a417706

Please sign in to comment.