better-notion 1.9.8__py3-none-any.whl → 2.0.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 +3 -3
- better_notion/plugins/official/agents_sdk/managers.py +2 -2
- {better_notion-1.9.8.dist-info → better_notion-2.0.0.dist-info}/METADATA +1 -1
- {better_notion-1.9.8.dist-info → better_notion-2.0.0.dist-info}/RECORD +7 -7
- {better_notion-1.9.8.dist-info → better_notion-2.0.0.dist-info}/WHEEL +0 -0
- {better_notion-1.9.8.dist-info → better_notion-2.0.0.dist-info}/entry_points.txt +0 -0
- {better_notion-1.9.8.dist-info → better_notion-2.0.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -1305,7 +1305,7 @@ def work_issues_create(
|
|
|
1305
1305
|
|
|
1306
1306
|
# Get workspace config
|
|
1307
1307
|
workspace_config = get_workspace_config()
|
|
1308
|
-
database_id = workspace_config.get("
|
|
1308
|
+
database_id = workspace_config.get("Work_issues")
|
|
1309
1309
|
|
|
1310
1310
|
if not database_id:
|
|
1311
1311
|
return format_error("NO_DATABASE", "Work Issues database not configured", retry=False)
|
|
@@ -1376,7 +1376,7 @@ def work_issues_resolve(issue_id: str, resolution: str = "") -> str:
|
|
|
1376
1376
|
# Get issue and resolve
|
|
1377
1377
|
from better_notion.plugins.official.agents_sdk.models import WorkIssue
|
|
1378
1378
|
issue = await WorkIssue.get(issue_id, client=client)
|
|
1379
|
-
await issue.resolve()
|
|
1379
|
+
await issue.resolve(resolution)
|
|
1380
1380
|
|
|
1381
1381
|
return format_success({
|
|
1382
1382
|
"message": "Work issue resolved successfully",
|
|
@@ -1629,7 +1629,7 @@ def incidents_resolve(incident_id: str, resolution: str = "") -> str:
|
|
|
1629
1629
|
# Get incident and resolve
|
|
1630
1630
|
from better_notion.plugins.official.agents_sdk.models import Incident
|
|
1631
1631
|
incident = await Incident.get(incident_id, client=client)
|
|
1632
|
-
await incident.resolve()
|
|
1632
|
+
await incident.resolve(resolution)
|
|
1633
1633
|
|
|
1634
1634
|
return format_success({
|
|
1635
1635
|
"message": "Incident resolved successfully",
|
|
@@ -686,7 +686,7 @@ class WorkIssueManager:
|
|
|
686
686
|
"""
|
|
687
687
|
from better_notion.plugins.official.agents_sdk.models import WorkIssue
|
|
688
688
|
|
|
689
|
-
database_id = self._get_database_id("
|
|
689
|
+
database_id = self._get_database_id("Work_issues")
|
|
690
690
|
if not database_id:
|
|
691
691
|
return []
|
|
692
692
|
|
|
@@ -787,7 +787,7 @@ class WorkIssueManager:
|
|
|
787
787
|
"""
|
|
788
788
|
from better_notion.plugins.official.agents_sdk.models import WorkIssue
|
|
789
789
|
|
|
790
|
-
database_id = self._get_database_id("
|
|
790
|
+
database_id = self._get_database_id("Work_issues")
|
|
791
791
|
if not database_id:
|
|
792
792
|
raise ValueError("Work Issues database not configured")
|
|
793
793
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: better-notion
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.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=NZ50Fiw-x7JIgrF56QHjVPzGLDBpnpJHc834vFYH8Fo,51608
|
|
116
|
-
better_notion/plugins/official/agents_cli.py,sha256=
|
|
116
|
+
better_notion/plugins/official/agents_cli.py,sha256=ybP13cfgnujPixiqiuKx8ejrzZWoWkHx8LW5dBQmXoM,52404
|
|
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=I1SuF-iEQPcRbivVtGcLfowFlGdwsAdoFKgfM7f-yc4,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-
|
|
137
|
-
better_notion-
|
|
138
|
-
better_notion-
|
|
139
|
-
better_notion-
|
|
140
|
-
better_notion-
|
|
136
|
+
better_notion-2.0.0.dist-info/METADATA,sha256=TmBNSZyQKCNMhe2OZ07huw3UTg66yp8cXGOzMExSN1I,11096
|
|
137
|
+
better_notion-2.0.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
138
|
+
better_notion-2.0.0.dist-info/entry_points.txt,sha256=D0bUcP7Z00Zyjxw7r2p29T95UrwioDO0aGDoHe9I6fo,55
|
|
139
|
+
better_notion-2.0.0.dist-info/licenses/LICENSE,sha256=BAdN3JpgMY_y_fWqZSCFSvSbC2mTHP-BKDAzF5FXQAI,1069
|
|
140
|
+
better_notion-2.0.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|