Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed a bug with UpdateBusiness operation #8

Merged
merged 4 commits into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ on:
# release:
# types: [created]
push:
branches: [ main ]
branches:
- main
pull_request:
branches:
- main

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,6 @@ cython_debug/
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
.idea/
.idea

.DS_Store
8 changes: 0 additions & 8 deletions .idea/.gitignore

This file was deleted.

21 changes: 18 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
# Paddle Python SDK Changelog

All notable changes to this project will be documented in this file.

## Version 0.1.0 (2024-04-05)
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

### Features:
- Initial launch!
Check our main [developer changelog](https://developer.paddle.com/?utm_source=dx&utm_medium=paddle-python-sdk) for information about changes to the Paddle Billing platform, the Paddle API, and other developer tools.


## 0.1.1 - 2024-05-24

### Fixed

- Fixed a [bug](https://github.com/PaddleHQ/paddle-python-sdk/issues/7) with `UpdateBusiness` operation.

---

## 0.1.0 - 2024-04-05

### Added:

- Initial release.
2 changes: 1 addition & 1 deletion paddle_billing/Client.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def build_request_session(self) -> Session:
'Authorization': f"Bearer {self.__api_key}",
'Content-Type': 'application/json',
'Paddle-Version': str(self.use_api_version),
'User-Agent': 'PaddleSDK/python 0.1.0',
'User-Agent': 'PaddleSDK/python 0.1.1',
})

# Configure retries
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

@dataclass
class UpdateBusiness:
name: str | Undefined = Undefined
name: str | Undefined = Undefined()
company_number: str | None | Undefined = Undefined()
tax_identifier: str | None | Undefined = Undefined()
contacts: list[Contacts] | Undefined = Undefined()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


setup(
version = '0.1.0',
version = '0.1.1',

author = 'Paddle and contributors',
author_email = '[email protected]',
Expand Down