We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd620b8 commit 7d7c925Copy full SHA for 7d7c925
templates/python/config.mustache
@@ -1,5 +1,5 @@
1
from os import environ
2
-from typing import Optional
+from typing import Dict, Optional
3
4
from algoliasearch.http.hosts import (
5
CallType,
@@ -29,7 +29,7 @@ class {{#lambda.pascalcase}}{{client}}{{/lambda.pascalcase}}Config(BaseConfig):
29
if api_key is None or not api_key:
30
raise ValueError("`api_key` is missing.")
31
32
- self.headers = {
+ self.headers: Dict[string, string] = {
33
"x-algolia-application-id": app_id,
34
"x-algolia-api-key": api_key,
35
"user-agent": self._user_agent.get(),
0 commit comments