better-notion 1.9.5__py3-none-any.whl → 1.9.7__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1159,7 +1159,7 @@ def ideas_reject(idea_id: str, reason: str = "") -> str:
1159
1159
  # Get idea and reject
1160
1160
  from better_notion.plugins.official.agents_sdk.models import Idea
1161
1161
  idea = await Idea.get(idea_id, client=client)
1162
- await idea.reject()
1162
+ await idea.reject(reason)
1163
1163
 
1164
1164
  return format_success({
1165
1165
  "message": "Idea rejected successfully",
@@ -606,7 +606,7 @@ class IdeaManager:
606
606
 
607
607
  response = await self._client._api._request(
608
608
  "POST",
609
- f"databases/{database_id}/query",
609
+ f"/databases/{database_id}/query",
610
610
  json=query,
611
611
  )
612
612
 
@@ -735,7 +735,7 @@ class WorkIssueManager:
735
735
 
736
736
  response = await self._client._api._request(
737
737
  "POST",
738
- f"databases/{database_id}/query",
738
+ f"/databases/{database_id}/query",
739
739
  json=query,
740
740
  )
741
741
 
@@ -816,8 +816,8 @@ class WorkIssueManager:
816
816
  }
817
817
 
818
818
  response = await self._client._api._request(
819
- method="POST",
820
- path=f"databases/{database_id}",
819
+ "POST",
820
+ f"/databases/{database_id}",
821
821
  json={"properties": properties},
822
822
  )
823
823
 
@@ -907,7 +907,7 @@ class IncidentManager:
907
907
 
908
908
  response = await self._client._api._request(
909
909
  "POST",
910
- f"databases/{database_id}/query",
910
+ f"/databases/{database_id}/query",
911
911
  json=query,
912
912
  )
913
913
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: better-notion
3
- Version: 1.9.5
3
+ Version: 1.9.7
4
4
  Summary: A high-level Python SDK for the Notion API with developer experience in mind.
5
5
  Project-URL: Homepage, https://github.com/nesalia-inc/better-notion
6
6
  Project-URL: Documentation, https://github.com/nesalia-inc/better-notion#readme
@@ -113,11 +113,11 @@ better_notion/plugins/loader.py,sha256=zCWsMdJyvZs1IHFm0zjEiqm_l_5jB1Uw4x30Kq8rL
113
113
  better_notion/plugins/state.py,sha256=jH_tZWvC35hqLO4qwl2Kwq9ziWVavwCEUcCqy3s5wMY,3780
114
114
  better_notion/plugins/official/__init__.py,sha256=rPg5vdk1cEANVstMPzxcWmImtsOpdSR40JSml7h1uUk,426
115
115
  better_notion/plugins/official/agents.py,sha256=3ibh88XPu3ykNuq1FTfXP_yECaz7pzIXqLngX0MW5-I,51627
116
- better_notion/plugins/official/agents_cli.py,sha256=JgwUw8xD9nOM2Ff5BLP_8QXFy5lKEIaepgZURx_yQ8Y,52378
116
+ better_notion/plugins/official/agents_cli.py,sha256=tV3WuYNUQQQh-9uA7b7H2wQDpAkKnD1aOH-pFNcGrT8,52384
117
117
  better_notion/plugins/official/agents_schema.py,sha256=NQRAJFoBAXRuxB9_9Eaf-4tVth-1OZh7GjmN56Yp9lA,39867
118
118
  better_notion/plugins/official/productivity.py,sha256=_-whP4pYA4HufE1aUFbIdhrjU-O9njI7xUO_Id2M1J8,8726
119
119
  better_notion/plugins/official/agents_sdk/__init__.py,sha256=luQBzZLsJ7fC5U0jFu8dfzMviiXj2SBZXcTohM53wkQ,725
120
- better_notion/plugins/official/agents_sdk/managers.py,sha256=3ASQnsd1UI4cpJz4lfQqWtDve4AWgNL4gwr4ieHhlDU,30832
120
+ better_notion/plugins/official/agents_sdk/managers.py,sha256=wxxXB5UZGtPz0VJEKZW4Ubv5p0YUEDnbAQu2kt2f8Ms,30824
121
121
  better_notion/plugins/official/agents_sdk/models.py,sha256=Di3K1o5HeaEj8vGd--7mPb53bgOXf9_g3QAZ5I7QYF0,83156
122
122
  better_notion/plugins/official/agents_sdk/plugin.py,sha256=bs9O8Unv6SARGj4lBU5Gj9HGbLTUNqTacJ3RLUhdbI4,4479
123
123
  better_notion/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -133,8 +133,8 @@ better_notion/utils/agents/rbac.py,sha256=8ZA8Y7wbOiVZDbpjpH7iC35SZrZ0jl4fcJ3xWC
133
133
  better_notion/utils/agents/schemas.py,sha256=eHfGhY90FAPXA3E8qE6gP75dgNzn-9z5Ju1FMwBKnQQ,22120
134
134
  better_notion/utils/agents/state_machine.py,sha256=xUBEeDTbU1Xq-rsRo2sbr6AUYpYrV9DTHOtZT2cWES8,6699
135
135
  better_notion/utils/agents/workspace.py,sha256=Uy8bqLsT_VFGYAPoiQJNuCvGdjMceaSiVGbR9saMpoU,16558
136
- better_notion-1.9.5.dist-info/METADATA,sha256=borqnJbD3_VQ0FY-rU1KwtQP7cq6BYkTPx2HdGoXPWM,11096
137
- better_notion-1.9.5.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
138
- better_notion-1.9.5.dist-info/entry_points.txt,sha256=D0bUcP7Z00Zyjxw7r2p29T95UrwioDO0aGDoHe9I6fo,55
139
- better_notion-1.9.5.dist-info/licenses/LICENSE,sha256=BAdN3JpgMY_y_fWqZSCFSvSbC2mTHP-BKDAzF5FXQAI,1069
140
- better_notion-1.9.5.dist-info/RECORD,,
136
+ better_notion-1.9.7.dist-info/METADATA,sha256=J1TwDI0h1kLcHTsg5zFGve1993NTsiTtmSg53Bkd8LE,11096
137
+ better_notion-1.9.7.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
138
+ better_notion-1.9.7.dist-info/entry_points.txt,sha256=D0bUcP7Z00Zyjxw7r2p29T95UrwioDO0aGDoHe9I6fo,55
139
+ better_notion-1.9.7.dist-info/licenses/LICENSE,sha256=BAdN3JpgMY_y_fWqZSCFSvSbC2mTHP-BKDAzF5FXQAI,1069
140
+ better_notion-1.9.7.dist-info/RECORD,,