Commit 01115a1
authored
[SILO-598] feat: Handcrafted SDK v0.2.0 (#7)
* WIP: Plane Python SDK V2
* Change the workitem custom property value resource to work with the new api endpoint
* Added support for multi value properties. Fixed some bugs around cycles
* Finalized the APIs for SDK.
- Introduced new test scripts for comprehensive testing of various SDK functionalities.
- Updated README.md to reflect changes and added a link to the documentation.
- Enhanced model configurations to allow extra fields in Pydantic models.
- Added LICENSE file for project licensing.
* Updated to the correct version
* Add examples for Plane Python SDK
- Introduced `create_work_items.py` to demonstrate project creation, state and label setup, and work item management.
- Added `setup_project.py` for comprehensive project setup including work item types, states, and labels.
- Created `README.md` to provide an overview and usage instructions for examples.
- Added `SETUP.md` for environment setup guidance and troubleshooting tips.
* Update environment variable references in test scripts and documentation
- Changed all instances of `BASE_URL`, `API_KEY`, and `ACCESS_TOKEN` to `PLANE_BASE_URL`, `PLANE_API_KEY`, and `PLANE_ACCESS_TOKEN` respectively across test scripts and README files.
- Updated usage instructions to reflect the new environment variable names for consistency and clarity.
* Updated agents.md
* Fixed minor issues/inconsistencies
* Add OAuth 2.0 authentication support
- Introduced `OAuthClient` for handling OAuth 2.0 flows including authorization code and client credentials.
- Added examples demonstrating OAuth usage in `oauth_example.py`.
- Updated `README.md` to include OAuth authentication details and usage instructions.
- Enhanced `examples/README.md` to guide users on running the OAuth examples.
- Implemented token management features such as refresh and revoke in the OAuth client.
* Update OAuth example to use workspace slug for project retrieval
- Modified `oauth_example.py` to replace workspace listing with project listing using the `workspace_slug` environment variable.
- Updated print statements to reflect the number of projects found instead of workspaces.
- Added documentation for the new `WORKSPACE_SLUG` environment variable requirement.1 parent c5c95f1 commit 01115a1
File tree
371 files changed
+15473
-69725
lines changed- docs
- examples
- plane
- api
- customers
- work_item_properties
- work_items
- client
- errors
- models
- oauth
- tests
- scripts
- unit
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
371 files changed
+15473
-69725
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments