The installation store interface.
diff --git a/docs/api-docs/slack_sdk/oauth/state_store/file/index.html b/docs/api-docs/slack_sdk/oauth/state_store/file/index.html
index 416e6d781..571114e67 100644
--- a/docs/api-docs/slack_sdk/oauth/state_store/file/index.html
+++ b/docs/api-docs/slack_sdk/oauth/state_store/file/index.html
@@ -110,7 +110,7 @@
class FileOAuthStateStore
-(*, expiration_seconds: int, base_dir: str = '/Users/kazuhiro.sera/.bolt-app-oauth-state', client_id: Optional[str] = None, logger: logging.Logger = <Logger slack_sdk.oauth.state_store.file (WARNING)>)
+(*, expiration_seconds: int, base_dir: str = '/Users/ksera/.bolt-app-oauth-state', client_id: Optional[str] = None, logger: logging.Logger = <Logger slack_sdk.oauth.state_store.file (WARNING)>)
-
diff --git a/docs/api-docs/slack_sdk/version.html b/docs/api-docs/slack_sdk/version.html
index 6da6b6ff8..d026680a6 100644
--- a/docs/api-docs/slack_sdk/version.html
+++ b/docs/api-docs/slack_sdk/version.html
@@ -28,7 +28,7 @@
Module slack_sdk.version
Expand source code
"""Check the latest version at https://pypi.org/project/slack-sdk/"""
-__version__ = "3.14.0"
+__version__ = "3.14.1"
diff --git a/docs/api-docs/slack_sdk/web/async_client.html b/docs/api-docs/slack_sdk/web/async_client.html
index 3a1202f9b..e29526878 100644
--- a/docs/api-docs/slack_sdk/web/async_client.html
+++ b/docs/api-docs/slack_sdk/web/async_client.html
@@ -2823,14 +2823,10 @@ Module slack_sdk.web.async_client
)
files = None
# preview_image (file): Preview of the document via multipart/form-data.
- if "preview_image" in kwargs or "indexable_file_contents" in kwargs:
+ if preview_image is not None or indexable_file_contents is not None:
files = {
- "preview_image": preview_image
- if preview_image is not None
- else kwargs.pop("preview_image"),
- "indexable_file_contents": indexable_file_contents
- if indexable_file_contents is not None
- else kwargs.pop("indexable_file_contents"),
+ "preview_image": preview_image,
+ "indexable_file_contents": indexable_file_contents,
}
return await self.api_call(
@@ -2863,16 +2859,14 @@ Module slack_sdk.web.async_client
"file": file,
"title": title,
"filetype": filetype,
- "indexable_file_contents": indexable_file_contents,
}
)
files = None
# preview_image (file): Preview of the document via multipart/form-data.
- if "preview_image" in kwargs:
+ if preview_image is not None or indexable_file_contents is not None:
files = {
- "preview_image": preview_image
- if preview_image is not None
- else kwargs.pop("preview_image")
+ "preview_image": preview_image,
+ "indexable_file_contents": indexable_file_contents,
}
return await self.api_call(
@@ -7270,14 +7264,10 @@ Note
)
files = None
# preview_image (file): Preview of the document via multipart/form-data.
- if "preview_image" in kwargs or "indexable_file_contents" in kwargs:
+ if preview_image is not None or indexable_file_contents is not None:
files = {
- "preview_image": preview_image
- if preview_image is not None
- else kwargs.pop("preview_image"),
- "indexable_file_contents": indexable_file_contents
- if indexable_file_contents is not None
- else kwargs.pop("indexable_file_contents"),
+ "preview_image": preview_image,
+ "indexable_file_contents": indexable_file_contents,
}
return await self.api_call(
@@ -7310,16 +7300,14 @@ Note
"file": file,
"title": title,
"filetype": filetype,
- "indexable_file_contents": indexable_file_contents,
}
)
files = None
# preview_image (file): Preview of the document via multipart/form-data.
- if "preview_image" in kwargs:
+ if preview_image is not None or indexable_file_contents is not None:
files = {
- "preview_image": preview_image
- if preview_image is not None
- else kwargs.pop("preview_image")
+ "preview_image": preview_image,
+ "indexable_file_contents": indexable_file_contents,
}
return await self.api_call(
@@ -13183,14 +13171,10 @@ Methods
)
files = None
# preview_image (file): Preview of the document via multipart/form-data.
- if "preview_image" in kwargs or "indexable_file_contents" in kwargs:
+ if preview_image is not None or indexable_file_contents is not None:
files = {
- "preview_image": preview_image
- if preview_image is not None
- else kwargs.pop("preview_image"),
- "indexable_file_contents": indexable_file_contents
- if indexable_file_contents is not None
- else kwargs.pop("indexable_file_contents"),
+ "preview_image": preview_image,
+ "indexable_file_contents": indexable_file_contents,
}
return await self.api_call(
@@ -13350,16 +13334,14 @@ Methods
"file": file,
"title": title,
"filetype": filetype,
- "indexable_file_contents": indexable_file_contents,
}
)
files = None
# preview_image (file): Preview of the document via multipart/form-data.
- if "preview_image" in kwargs:
+ if preview_image is not None or indexable_file_contents is not None:
files = {
- "preview_image": preview_image
- if preview_image is not None
- else kwargs.pop("preview_image")
+ "preview_image": preview_image,
+ "indexable_file_contents": indexable_file_contents,
}
return await self.api_call(
diff --git a/docs/api-docs/slack_sdk/web/client.html b/docs/api-docs/slack_sdk/web/client.html
index 8ee5780af..eb34032ea 100644
--- a/docs/api-docs/slack_sdk/web/client.html
+++ b/docs/api-docs/slack_sdk/web/client.html
@@ -2768,14 +2768,10 @@ Module slack_sdk.web.client
)
files = None
# preview_image (file): Preview of the document via multipart/form-data.
- if "preview_image" in kwargs or "indexable_file_contents" in kwargs:
+ if preview_image is not None or indexable_file_contents is not None:
files = {
- "preview_image": preview_image
- if preview_image is not None
- else kwargs.pop("preview_image"),
- "indexable_file_contents": indexable_file_contents
- if indexable_file_contents is not None
- else kwargs.pop("indexable_file_contents"),
+ "preview_image": preview_image,
+ "indexable_file_contents": indexable_file_contents,
}
return self.api_call(
@@ -2808,16 +2804,14 @@ Module slack_sdk.web.client
"file": file,
"title": title,
"filetype": filetype,
- "indexable_file_contents": indexable_file_contents,
}
)
files = None
# preview_image (file): Preview of the document via multipart/form-data.
- if "preview_image" in kwargs:
+ if preview_image is not None or indexable_file_contents is not None:
files = {
- "preview_image": preview_image
- if preview_image is not None
- else kwargs.pop("preview_image")
+ "preview_image": preview_image,
+ "indexable_file_contents": indexable_file_contents,
}
return self.api_call(
@@ -7155,14 +7149,10 @@ Note
)
files = None
# preview_image (file): Preview of the document via multipart/form-data.
- if "preview_image" in kwargs or "indexable_file_contents" in kwargs:
+ if preview_image is not None or indexable_file_contents is not None:
files = {
- "preview_image": preview_image
- if preview_image is not None
- else kwargs.pop("preview_image"),
- "indexable_file_contents": indexable_file_contents
- if indexable_file_contents is not None
- else kwargs.pop("indexable_file_contents"),
+ "preview_image": preview_image,
+ "indexable_file_contents": indexable_file_contents,
}
return self.api_call(
@@ -7195,16 +7185,14 @@ Note
"file": file,
"title": title,
"filetype": filetype,
- "indexable_file_contents": indexable_file_contents,
}
)
files = None
# preview_image (file): Preview of the document via multipart/form-data.
- if "preview_image" in kwargs:
+ if preview_image is not None or indexable_file_contents is not None:
files = {
- "preview_image": preview_image
- if preview_image is not None
- else kwargs.pop("preview_image")
+ "preview_image": preview_image,
+ "indexable_file_contents": indexable_file_contents,
}
return self.api_call(
@@ -13008,14 +12996,10 @@ Methods
)
files = None
# preview_image (file): Preview of the document via multipart/form-data.
- if "preview_image" in kwargs or "indexable_file_contents" in kwargs:
+ if preview_image is not None or indexable_file_contents is not None:
files = {
- "preview_image": preview_image
- if preview_image is not None
- else kwargs.pop("preview_image"),
- "indexable_file_contents": indexable_file_contents
- if indexable_file_contents is not None
- else kwargs.pop("indexable_file_contents"),
+ "preview_image": preview_image,
+ "indexable_file_contents": indexable_file_contents,
}
return self.api_call(
@@ -13173,16 +13157,14 @@ Methods
"file": file,
"title": title,
"filetype": filetype,
- "indexable_file_contents": indexable_file_contents,
}
)
files = None
# preview_image (file): Preview of the document via multipart/form-data.
- if "preview_image" in kwargs:
+ if preview_image is not None or indexable_file_contents is not None:
files = {
- "preview_image": preview_image
- if preview_image is not None
- else kwargs.pop("preview_image")
+ "preview_image": preview_image,
+ "indexable_file_contents": indexable_file_contents,
}
return self.api_call(
diff --git a/docs/api-docs/slack_sdk/web/legacy_client.html b/docs/api-docs/slack_sdk/web/legacy_client.html
index 52c962d5c..04c53f58e 100644
--- a/docs/api-docs/slack_sdk/web/legacy_client.html
+++ b/docs/api-docs/slack_sdk/web/legacy_client.html
@@ -2778,14 +2778,10 @@ Module slack_sdk.web.legacy_client
)
files = None
# preview_image (file): Preview of the document via multipart/form-data.
- if "preview_image" in kwargs or "indexable_file_contents" in kwargs:
+ if preview_image is not None or indexable_file_contents is not None:
files = {
- "preview_image": preview_image
- if preview_image is not None
- else kwargs.pop("preview_image"),
- "indexable_file_contents": indexable_file_contents
- if indexable_file_contents is not None
- else kwargs.pop("indexable_file_contents"),
+ "preview_image": preview_image,
+ "indexable_file_contents": indexable_file_contents,
}
return self.api_call(
@@ -2818,16 +2814,14 @@ Module slack_sdk.web.legacy_client
"file": file,
"title": title,
"filetype": filetype,
- "indexable_file_contents": indexable_file_contents,
}
)
files = None
# preview_image (file): Preview of the document via multipart/form-data.
- if "preview_image" in kwargs:
+ if preview_image is not None or indexable_file_contents is not None:
files = {
- "preview_image": preview_image
- if preview_image is not None
- else kwargs.pop("preview_image")
+ "preview_image": preview_image,
+ "indexable_file_contents": indexable_file_contents,
}
return self.api_call(
@@ -7165,14 +7159,10 @@ Note
)
files = None
# preview_image (file): Preview of the document via multipart/form-data.
- if "preview_image" in kwargs or "indexable_file_contents" in kwargs:
+ if preview_image is not None or indexable_file_contents is not None:
files = {
- "preview_image": preview_image
- if preview_image is not None
- else kwargs.pop("preview_image"),
- "indexable_file_contents": indexable_file_contents
- if indexable_file_contents is not None
- else kwargs.pop("indexable_file_contents"),
+ "preview_image": preview_image,
+ "indexable_file_contents": indexable_file_contents,
}
return self.api_call(
@@ -7205,16 +7195,14 @@ Note
"file": file,
"title": title,
"filetype": filetype,
- "indexable_file_contents": indexable_file_contents,
}
)
files = None
# preview_image (file): Preview of the document via multipart/form-data.
- if "preview_image" in kwargs:
+ if preview_image is not None or indexable_file_contents is not None:
files = {
- "preview_image": preview_image
- if preview_image is not None
- else kwargs.pop("preview_image")
+ "preview_image": preview_image,
+ "indexable_file_contents": indexable_file_contents,
}
return self.api_call(
@@ -13018,14 +13006,10 @@ Methods
)
files = None
# preview_image (file): Preview of the document via multipart/form-data.
- if "preview_image" in kwargs or "indexable_file_contents" in kwargs:
+ if preview_image is not None or indexable_file_contents is not None:
files = {
- "preview_image": preview_image
- if preview_image is not None
- else kwargs.pop("preview_image"),
- "indexable_file_contents": indexable_file_contents
- if indexable_file_contents is not None
- else kwargs.pop("indexable_file_contents"),
+ "preview_image": preview_image,
+ "indexable_file_contents": indexable_file_contents,
}
return self.api_call(
@@ -13183,16 +13167,14 @@ Methods
"file": file,
"title": title,
"filetype": filetype,
- "indexable_file_contents": indexable_file_contents,
}
)
files = None
# preview_image (file): Preview of the document via multipart/form-data.
- if "preview_image" in kwargs:
+ if preview_image is not None or indexable_file_contents is not None:
files = {
- "preview_image": preview_image
- if preview_image is not None
- else kwargs.pop("preview_image")
+ "preview_image": preview_image,
+ "indexable_file_contents": indexable_file_contents,
}
return self.api_call(
diff --git a/slack_sdk/version.py b/slack_sdk/version.py
index 2235b3830..a6b828a1e 100644
--- a/slack_sdk/version.py
+++ b/slack_sdk/version.py
@@ -1,2 +1,2 @@
"""Check the latest version at https://pypi.org/project/slack-sdk/"""
-__version__ = "3.14.0"
+__version__ = "3.14.1"