Skip to content

Commit 8f91a7f

Browse files
committed
chore: noob
1 parent db18aa0 commit 8f91a7f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

templates/python/config.mustache

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ class {{#lambda.pascalcase}}{{client}}{{/lambda.pascalcase}}Config(BaseConfig):
1717
user_agent = UserAgent().add("{{#lambda.pascalcase}}{{client}}{{/lambda.pascalcase}}")
1818

1919
if app_id is None or not app_id:
20-
raise ValueError("`app_id` is missing.")
20+
raise ValueError("`app_id` is missing.")
2121

2222
if api_key is None or not api_key:
23-
raise ValueError("`api_key` is missing.")
23+
raise ValueError("`api_key` is missing.")
2424

25-
self.headers = {
26-
"x-algolia-application-id": app_id,
27-
"x-algolia-api-key": api_key,
28-
"user-agent": user_agent.get(),
29-
"content-type": "application/json",
30-
}
25+
self.headers = {
26+
"x-algolia-application-id": app_id,
27+
"x-algolia-api-key": api_key,
28+
"user-agent": user_agent.get(),
29+
"content-type": "application/json",
30+
}
3131

3232
http_proxy = environ.get("HTTP_PROXY")
3333
https_proxy = environ.get("HTTPS_PROXY")

0 commit comments

Comments
 (0)