better-notion 2.1.8__py3-none-any.whl → 2.2.0__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.
- better_notion/plugins/official/agents_cli.py +2 -0
- better_notion/plugins/official/agents_sdk/managers.py +10 -1
- {better_notion-2.1.8.dist-info → better_notion-2.2.0.dist-info}/METADATA +1 -1
- {better_notion-2.1.8.dist-info → better_notion-2.2.0.dist-info}/RECORD +7 -7
- {better_notion-2.1.8.dist-info → better_notion-2.2.0.dist-info}/WHEEL +0 -0
- {better_notion-2.1.8.dist-info → better_notion-2.2.0.dist-info}/entry_points.txt +0 -0
- {better_notion-2.1.8.dist-info → better_notion-2.2.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -514,6 +514,7 @@ def tasks_list(
|
|
|
514
514
|
"priority": t.priority,
|
|
515
515
|
"version_id": t.version_id,
|
|
516
516
|
"estimated_hours": t.estimated_hours,
|
|
517
|
+
"assignee": t.assignee,
|
|
517
518
|
}
|
|
518
519
|
for t in tasks
|
|
519
520
|
],
|
|
@@ -557,6 +558,7 @@ def tasks_get(task_id: str) -> str:
|
|
|
557
558
|
"dependency_ids": task.dependency_ids,
|
|
558
559
|
"estimated_hours": task.estimated_hours,
|
|
559
560
|
"actual_hours": task.actual_hours,
|
|
561
|
+
"assignee": task.assignee,
|
|
560
562
|
})
|
|
561
563
|
|
|
562
564
|
except Exception as e:
|
|
@@ -341,10 +341,19 @@ class TaskManager:
|
|
|
341
341
|
"select": {"equals": status},
|
|
342
342
|
})
|
|
343
343
|
|
|
344
|
+
# Build query payload
|
|
345
|
+
query_payload = {}
|
|
346
|
+
if filters:
|
|
347
|
+
# Apply filter only if there are filters
|
|
348
|
+
if len(filters) == 1:
|
|
349
|
+
query_payload["filter"] = filters[0]
|
|
350
|
+
else:
|
|
351
|
+
query_payload["filter"] = {"and": filters}
|
|
352
|
+
|
|
344
353
|
# Query pages
|
|
345
354
|
response = await self._client._api.databases.query(
|
|
346
355
|
database_id=database_id,
|
|
347
|
-
|
|
356
|
+
**query_payload
|
|
348
357
|
)
|
|
349
358
|
|
|
350
359
|
return [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: better-notion
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.2.0
|
|
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=usvB2dH1oQ_BUePg2D1nSlHUvk58K3Eq4cdbFG5Fb7Q,54191
|
|
116
|
-
better_notion/plugins/official/agents_cli.py,sha256=
|
|
116
|
+
better_notion/plugins/official/agents_cli.py,sha256=WFI-Sg2X4kyqyrB7SdaxwpKRGxsMxe1-aj3YU0eXb94,62644
|
|
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=
|
|
120
|
+
better_notion/plugins/official/agents_sdk/managers.py,sha256=EvEZAsH4-RzKh7o8OV_o8a0mRgMCxnqwyiwuj-Y1Cag,41235
|
|
121
121
|
better_notion/plugins/official/agents_sdk/models.py,sha256=vBSqf-9Q-gX14Z8779Nacr8yTI3WMi5cLtkJjONiPoY,91967
|
|
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=RM6XPNA_CdtlNgKAFpN0p0Ppqqo6849RX37ODBp088o,22956
|
|
134
134
|
better_notion/utils/agents/state_machine.py,sha256=xUBEeDTbU1Xq-rsRo2sbr6AUYpYrV9DTHOtZT2cWES8,6699
|
|
135
135
|
better_notion/utils/agents/workspace.py,sha256=2_dK58fifMqSEifFxThI7ir_1UR9KLN-d6R4CkdNqjQ,26538
|
|
136
|
-
better_notion-2.
|
|
137
|
-
better_notion-2.
|
|
138
|
-
better_notion-2.
|
|
139
|
-
better_notion-2.
|
|
140
|
-
better_notion-2.
|
|
136
|
+
better_notion-2.2.0.dist-info/METADATA,sha256=uj6RsRMipVhH2v4gKaSjOMKSgdd0jxT_VClz62l7NY0,11096
|
|
137
|
+
better_notion-2.2.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
138
|
+
better_notion-2.2.0.dist-info/entry_points.txt,sha256=D0bUcP7Z00Zyjxw7r2p29T95UrwioDO0aGDoHe9I6fo,55
|
|
139
|
+
better_notion-2.2.0.dist-info/licenses/LICENSE,sha256=BAdN3JpgMY_y_fWqZSCFSvSbC2mTHP-BKDAzF5FXQAI,1069
|
|
140
|
+
better_notion-2.2.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|