Skip to content

Commit

Permalink
Release 0.0.47
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Aug 8, 2023
1 parent 3dbcc18 commit d9e1dde
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "superagent-py"
version = "v0.0.46"
version = "v0.0.47"
description = ""
readme = "README.md"
authors = []
Expand Down
6 changes: 6 additions & 0 deletions src/superagent/resources/documents/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def create_document(
*,
type: str,
url: typing.Optional[str] = OMIT,
description: typing.Optional[str] = OMIT,
content: typing.Optional[str] = OMIT,
name: str,
authorization: typing.Optional[typing.Dict[str, typing.Any]] = OMIT,
Expand All @@ -55,6 +56,8 @@ def create_document(
_request: typing.Dict[str, typing.Any] = {"type": type, "name": name}
if url is not OMIT:
_request["url"] = url
if description is not OMIT:
_request["description"] = description
if content is not OMIT:
_request["content"] = content
if authorization is not OMIT:
Expand Down Expand Up @@ -173,6 +176,7 @@ async def create_document(
*,
type: str,
url: typing.Optional[str] = OMIT,
description: typing.Optional[str] = OMIT,
content: typing.Optional[str] = OMIT,
name: str,
authorization: typing.Optional[typing.Dict[str, typing.Any]] = OMIT,
Expand All @@ -184,6 +188,8 @@ async def create_document(
_request: typing.Dict[str, typing.Any] = {"type": type, "name": name}
if url is not OMIT:
_request["url"] = url
if description is not OMIT:
_request["description"] = description
if content is not OMIT:
_request["content"] = content
if authorization is not OMIT:
Expand Down

0 comments on commit d9e1dde

Please sign in to comment.