better-notion 1.8.6__py3-none-any.whl → 1.8.8__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.py +7 -1
- better_notion/plugins/official/agents_sdk/models.py +7 -1
- {better_notion-1.8.6.dist-info → better_notion-1.8.8.dist-info}/METADATA +1 -1
- {better_notion-1.8.6.dist-info → better_notion-1.8.8.dist-info}/RECORD +7 -7
- {better_notion-1.8.6.dist-info → better_notion-1.8.8.dist-info}/WHEEL +0 -0
- {better_notion-1.8.6.dist-info → better_notion-1.8.8.dist-info}/entry_points.txt +0 -0
- {better_notion-1.8.6.dist-info → better_notion-1.8.8.dist-info}/licenses/LICENSE +0 -0
|
@@ -882,7 +882,13 @@ class AgentsPlugin(CombinedPluginInterface):
|
|
|
882
882
|
priority: str = typer.Option("Medium", "--priority"),
|
|
883
883
|
estimated_hours: float = typer.Option(0, "--estimated-hours"),
|
|
884
884
|
):
|
|
885
|
-
typer.echo(agents_cli.tasks_create(
|
|
885
|
+
typer.echo(agents_cli.tasks_create(
|
|
886
|
+
title=title,
|
|
887
|
+
version_id=version_id,
|
|
888
|
+
task_type=type_,
|
|
889
|
+
priority=priority,
|
|
890
|
+
estimated_hours=int(estimated_hours) if estimated_hours else None,
|
|
891
|
+
))
|
|
886
892
|
|
|
887
893
|
@tasks_app.command("next")
|
|
888
894
|
def tasks_next_cmd(project_id: str = typer.Option(None, "--project-id", "-p")):
|
|
@@ -835,10 +835,16 @@ class Version(DatabasePageEntityMixin, BaseEntity):
|
|
|
835
835
|
if branch_name:
|
|
836
836
|
properties["Branch Name"] = RichText(name="Branch Name", content=branch_name)
|
|
837
837
|
|
|
838
|
+
# Convert Property objects to dicts for API
|
|
839
|
+
serialized_properties = {
|
|
840
|
+
key: prop.to_dict() if hasattr(prop, 'to_dict') else prop
|
|
841
|
+
for key, prop in properties.items()
|
|
842
|
+
}
|
|
843
|
+
|
|
838
844
|
# Create page
|
|
839
845
|
data = await client._api.pages.create(
|
|
840
846
|
parent={"database_id": database_id},
|
|
841
|
-
properties=
|
|
847
|
+
properties=serialized_properties,
|
|
842
848
|
)
|
|
843
849
|
|
|
844
850
|
version = cls(client, data)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: better-notion
|
|
3
|
-
Version: 1.8.
|
|
3
|
+
Version: 1.8.8
|
|
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
|
|
@@ -112,13 +112,13 @@ better_notion/plugins/base.py,sha256=3h9jOZzS--UqmVW3RREtcQ2h1GTWWPUryTencsJKhTM
|
|
|
112
112
|
better_notion/plugins/loader.py,sha256=zCWsMdJyvZs1IHFm0zjEiqm_l_5jB1Uw4x30Kq8rLS4,9527
|
|
113
113
|
better_notion/plugins/state.py,sha256=jH_tZWvC35hqLO4qwl2Kwq9ziWVavwCEUcCqy3s5wMY,3780
|
|
114
114
|
better_notion/plugins/official/__init__.py,sha256=rPg5vdk1cEANVstMPzxcWmImtsOpdSR40JSml7h1uUk,426
|
|
115
|
-
better_notion/plugins/official/agents.py,sha256=
|
|
115
|
+
better_notion/plugins/official/agents.py,sha256=3ibh88XPu3ykNuq1FTfXP_yECaz7pzIXqLngX0MW5-I,51627
|
|
116
116
|
better_notion/plugins/official/agents_cli.py,sha256=PwkPBv2l0GHdRmkMM8dkb1i_Q60FrvZZcil_p6ZaA6U,52193
|
|
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
120
|
better_notion/plugins/official/agents_sdk/managers.py,sha256=0zMZPu63zhdyqiudO2gKsmM3YOJh0nFAR9FrMlwkV2A,31186
|
|
121
|
-
better_notion/plugins/official/agents_sdk/models.py,sha256=
|
|
121
|
+
better_notion/plugins/official/agents_sdk/models.py,sha256=Qsh02QpwNtezxEBdFF--W_TCfeouhXDInjfewApu1yI,83151
|
|
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
|
|
124
124
|
better_notion/utils/helpers.py,sha256=HgFuUQlG_HzBOB0z2GA9RxPLoXgwRc0DIxa9Fg6C-Jk,2337
|
|
@@ -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.8.
|
|
137
|
-
better_notion-1.8.
|
|
138
|
-
better_notion-1.8.
|
|
139
|
-
better_notion-1.8.
|
|
140
|
-
better_notion-1.8.
|
|
136
|
+
better_notion-1.8.8.dist-info/METADATA,sha256=KqlzYo3tY2xwGsLIAaGxviOlNZlF4nBdFBe9uOyx8q4,11096
|
|
137
|
+
better_notion-1.8.8.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
138
|
+
better_notion-1.8.8.dist-info/entry_points.txt,sha256=D0bUcP7Z00Zyjxw7r2p29T95UrwioDO0aGDoHe9I6fo,55
|
|
139
|
+
better_notion-1.8.8.dist-info/licenses/LICENSE,sha256=BAdN3JpgMY_y_fWqZSCFSvSbC2mTHP-BKDAzF5FXQAI,1069
|
|
140
|
+
better_notion-1.8.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|