pulumi-dnsimple 5.1.0a1768541715__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.
- pulumi_dnsimple/__init__.py +120 -0
- pulumi_dnsimple/_enums.py +34 -0
- pulumi_dnsimple/_inputs.py +378 -0
- pulumi_dnsimple/_utilities.py +331 -0
- pulumi_dnsimple/config/__init__.py +9 -0
- pulumi_dnsimple/config/__init__.pyi +46 -0
- pulumi_dnsimple/config/vars.py +64 -0
- pulumi_dnsimple/contact.py +981 -0
- pulumi_dnsimple/domain.py +362 -0
- pulumi_dnsimple/domain_delegation.py +244 -0
- pulumi_dnsimple/ds_record.py +496 -0
- pulumi_dnsimple/email_forward.py +324 -0
- pulumi_dnsimple/get_certificate.py +203 -0
- pulumi_dnsimple/get_registrant_change_check.py +168 -0
- pulumi_dnsimple/get_zone.py +133 -0
- pulumi_dnsimple/lets_encrypt_certificate.py +594 -0
- pulumi_dnsimple/outputs.py +353 -0
- pulumi_dnsimple/provider.py +258 -0
- pulumi_dnsimple/pulumi-plugin.json +5 -0
- pulumi_dnsimple/py.typed +0 -0
- pulumi_dnsimple/registered_domain.py +839 -0
- pulumi_dnsimple/zone.py +357 -0
- pulumi_dnsimple/zone_record.py +629 -0
- pulumi_dnsimple-5.1.0a1768541715.dist-info/METADATA +73 -0
- pulumi_dnsimple-5.1.0a1768541715.dist-info/RECORD +27 -0
- pulumi_dnsimple-5.1.0a1768541715.dist-info/WHEEL +5 -0
- pulumi_dnsimple-5.1.0a1768541715.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
import asyncio
|
|
7
|
+
import functools
|
|
8
|
+
import importlib.metadata
|
|
9
|
+
import importlib.util
|
|
10
|
+
import inspect
|
|
11
|
+
import json
|
|
12
|
+
import os
|
|
13
|
+
import sys
|
|
14
|
+
import typing
|
|
15
|
+
import warnings
|
|
16
|
+
import base64
|
|
17
|
+
|
|
18
|
+
import pulumi
|
|
19
|
+
import pulumi.runtime
|
|
20
|
+
from pulumi.runtime.sync_await import _sync_await
|
|
21
|
+
from pulumi.runtime.proto import resource_pb2
|
|
22
|
+
|
|
23
|
+
from semver import VersionInfo as SemverVersion
|
|
24
|
+
from parver import Version as PEP440Version
|
|
25
|
+
|
|
26
|
+
C = typing.TypeVar("C", bound=typing.Callable)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def get_env(*args):
|
|
30
|
+
for v in args:
|
|
31
|
+
value = os.getenv(v)
|
|
32
|
+
if value is not None:
|
|
33
|
+
return value
|
|
34
|
+
return None
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def get_env_bool(*args):
|
|
38
|
+
str = get_env(*args)
|
|
39
|
+
if str is not None:
|
|
40
|
+
# NOTE: these values are taken from https://golang.org/src/strconv/atob.go?s=351:391#L1, which is what
|
|
41
|
+
# Terraform uses internally when parsing boolean values.
|
|
42
|
+
if str in ["1", "t", "T", "true", "TRUE", "True"]:
|
|
43
|
+
return True
|
|
44
|
+
if str in ["0", "f", "F", "false", "FALSE", "False"]:
|
|
45
|
+
return False
|
|
46
|
+
return None
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
def get_env_int(*args):
|
|
50
|
+
str = get_env(*args)
|
|
51
|
+
if str is not None:
|
|
52
|
+
try:
|
|
53
|
+
return int(str)
|
|
54
|
+
except:
|
|
55
|
+
return None
|
|
56
|
+
return None
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
def get_env_float(*args):
|
|
60
|
+
str = get_env(*args)
|
|
61
|
+
if str is not None:
|
|
62
|
+
try:
|
|
63
|
+
return float(str)
|
|
64
|
+
except:
|
|
65
|
+
return None
|
|
66
|
+
return None
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
def _get_semver_version():
|
|
70
|
+
# __name__ is set to the fully-qualified name of the current module, In our case, it will be
|
|
71
|
+
# <some module>._utilities. <some module> is the module we want to query the version for.
|
|
72
|
+
root_package, *rest = __name__.split('.')
|
|
73
|
+
|
|
74
|
+
# pkg_resources uses setuptools to inspect the set of installed packages. We use it here to ask
|
|
75
|
+
# for the currently installed version of the root package (i.e. us) and get its version.
|
|
76
|
+
|
|
77
|
+
# Unfortunately, PEP440 and semver differ slightly in incompatible ways. The Pulumi engine expects
|
|
78
|
+
# to receive a valid semver string when receiving requests from the language host, so it's our
|
|
79
|
+
# responsibility as the library to convert our own PEP440 version into a valid semver string.
|
|
80
|
+
|
|
81
|
+
pep440_version_string = importlib.metadata.version(root_package)
|
|
82
|
+
pep440_version = PEP440Version.parse(pep440_version_string)
|
|
83
|
+
(major, minor, patch) = pep440_version.release
|
|
84
|
+
prerelease = None
|
|
85
|
+
if pep440_version.pre_tag == 'a':
|
|
86
|
+
prerelease = f"alpha.{pep440_version.pre}"
|
|
87
|
+
elif pep440_version.pre_tag == 'b':
|
|
88
|
+
prerelease = f"beta.{pep440_version.pre}"
|
|
89
|
+
elif pep440_version.pre_tag == 'rc':
|
|
90
|
+
prerelease = f"rc.{pep440_version.pre}"
|
|
91
|
+
elif pep440_version.dev is not None:
|
|
92
|
+
# PEP440 has explicit support for dev builds, while semver encodes them as "prerelease" versions. To bridge
|
|
93
|
+
# between the two, we convert our dev build version into a prerelease tag. This matches what all of our other
|
|
94
|
+
# packages do when constructing their own semver string.
|
|
95
|
+
prerelease = f"dev.{pep440_version.dev}"
|
|
96
|
+
elif pep440_version.local is not None:
|
|
97
|
+
# PEP440 only allows a small set of prerelease tags, so when converting an arbitrary prerelease,
|
|
98
|
+
# PypiVersion in /pkg/codegen/python/utilities.go converts it to a local version. Therefore, we need to
|
|
99
|
+
# do the reverse conversion here and set the local version as the prerelease tag.
|
|
100
|
+
prerelease = pep440_version.local
|
|
101
|
+
|
|
102
|
+
return SemverVersion(major=major, minor=minor, patch=patch, prerelease=prerelease)
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
# Determine the version once and cache the value, which measurably improves program performance.
|
|
106
|
+
_version = _get_semver_version()
|
|
107
|
+
_version_str = str(_version)
|
|
108
|
+
|
|
109
|
+
def get_resource_opts_defaults() -> pulumi.ResourceOptions:
|
|
110
|
+
return pulumi.ResourceOptions(
|
|
111
|
+
version=get_version(),
|
|
112
|
+
plugin_download_url=get_plugin_download_url(),
|
|
113
|
+
)
|
|
114
|
+
|
|
115
|
+
def get_invoke_opts_defaults() -> pulumi.InvokeOptions:
|
|
116
|
+
return pulumi.InvokeOptions(
|
|
117
|
+
version=get_version(),
|
|
118
|
+
plugin_download_url=get_plugin_download_url(),
|
|
119
|
+
)
|
|
120
|
+
|
|
121
|
+
def get_resource_args_opts(resource_args_type, resource_options_type, *args, **kwargs):
|
|
122
|
+
"""
|
|
123
|
+
Return the resource args and options given the *args and **kwargs of a resource's
|
|
124
|
+
__init__ method.
|
|
125
|
+
"""
|
|
126
|
+
|
|
127
|
+
resource_args, opts = None, None
|
|
128
|
+
|
|
129
|
+
# If the first item is the resource args type, save it and remove it from the args list.
|
|
130
|
+
if args and isinstance(args[0], resource_args_type):
|
|
131
|
+
resource_args, args = args[0], args[1:]
|
|
132
|
+
|
|
133
|
+
# Now look at the first item in the args list again.
|
|
134
|
+
# If the first item is the resource options class, save it.
|
|
135
|
+
if args and isinstance(args[0], resource_options_type):
|
|
136
|
+
opts = args[0]
|
|
137
|
+
|
|
138
|
+
# If resource_args is None, see if "args" is in kwargs, and, if so, if it's typed as the
|
|
139
|
+
# the resource args type.
|
|
140
|
+
if resource_args is None:
|
|
141
|
+
a = kwargs.get("args")
|
|
142
|
+
if isinstance(a, resource_args_type):
|
|
143
|
+
resource_args = a
|
|
144
|
+
|
|
145
|
+
# If opts is None, look it up in kwargs.
|
|
146
|
+
if opts is None:
|
|
147
|
+
opts = kwargs.get("opts")
|
|
148
|
+
|
|
149
|
+
return resource_args, opts
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
# Temporary: just use pulumi._utils.lazy_import once everyone upgrades.
|
|
153
|
+
def lazy_import(fullname):
|
|
154
|
+
|
|
155
|
+
import pulumi._utils as u
|
|
156
|
+
f = getattr(u, 'lazy_import', None)
|
|
157
|
+
if f is None:
|
|
158
|
+
f = _lazy_import_temp
|
|
159
|
+
|
|
160
|
+
return f(fullname)
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
# Copied from pulumi._utils.lazy_import, see comments there.
|
|
164
|
+
def _lazy_import_temp(fullname):
|
|
165
|
+
m = sys.modules.get(fullname, None)
|
|
166
|
+
if m is not None:
|
|
167
|
+
return m
|
|
168
|
+
|
|
169
|
+
spec = importlib.util.find_spec(fullname)
|
|
170
|
+
|
|
171
|
+
m = sys.modules.get(fullname, None)
|
|
172
|
+
if m is not None:
|
|
173
|
+
return m
|
|
174
|
+
|
|
175
|
+
loader = importlib.util.LazyLoader(spec.loader)
|
|
176
|
+
spec.loader = loader
|
|
177
|
+
module = importlib.util.module_from_spec(spec)
|
|
178
|
+
|
|
179
|
+
m = sys.modules.get(fullname, None)
|
|
180
|
+
if m is not None:
|
|
181
|
+
return m
|
|
182
|
+
|
|
183
|
+
sys.modules[fullname] = module
|
|
184
|
+
loader.exec_module(module)
|
|
185
|
+
return module
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
class Package(pulumi.runtime.ResourcePackage):
|
|
189
|
+
def __init__(self, pkg_info):
|
|
190
|
+
super().__init__()
|
|
191
|
+
self.pkg_info = pkg_info
|
|
192
|
+
|
|
193
|
+
def version(self):
|
|
194
|
+
return _version
|
|
195
|
+
|
|
196
|
+
def construct_provider(self, name: str, typ: str, urn: str) -> pulumi.ProviderResource:
|
|
197
|
+
if typ != self.pkg_info['token']:
|
|
198
|
+
raise Exception(f"unknown provider type {typ}")
|
|
199
|
+
Provider = getattr(lazy_import(self.pkg_info['fqn']), self.pkg_info['class'])
|
|
200
|
+
return Provider(name, pulumi.ResourceOptions(urn=urn))
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
class Module(pulumi.runtime.ResourceModule):
|
|
204
|
+
def __init__(self, mod_info):
|
|
205
|
+
super().__init__()
|
|
206
|
+
self.mod_info = mod_info
|
|
207
|
+
|
|
208
|
+
def version(self):
|
|
209
|
+
return _version
|
|
210
|
+
|
|
211
|
+
def construct(self, name: str, typ: str, urn: str) -> pulumi.Resource:
|
|
212
|
+
class_name = self.mod_info['classes'].get(typ, None)
|
|
213
|
+
|
|
214
|
+
if class_name is None:
|
|
215
|
+
raise Exception(f"unknown resource type {typ}")
|
|
216
|
+
|
|
217
|
+
TheClass = getattr(lazy_import(self.mod_info['fqn']), class_name)
|
|
218
|
+
return TheClass(name, pulumi.ResourceOptions(urn=urn))
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
def register(resource_modules, resource_packages):
|
|
222
|
+
resource_modules = json.loads(resource_modules)
|
|
223
|
+
resource_packages = json.loads(resource_packages)
|
|
224
|
+
|
|
225
|
+
for pkg_info in resource_packages:
|
|
226
|
+
pulumi.runtime.register_resource_package(pkg_info['pkg'], Package(pkg_info))
|
|
227
|
+
|
|
228
|
+
for mod_info in resource_modules:
|
|
229
|
+
pulumi.runtime.register_resource_module(
|
|
230
|
+
mod_info['pkg'],
|
|
231
|
+
mod_info['mod'],
|
|
232
|
+
Module(mod_info))
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
_F = typing.TypeVar('_F', bound=typing.Callable[..., typing.Any])
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
def lift_output_func(func: typing.Any) -> typing.Callable[[_F], _F]:
|
|
239
|
+
"""Decorator internally used on {fn}_output lifted function versions
|
|
240
|
+
to implement them automatically from the un-lifted function."""
|
|
241
|
+
|
|
242
|
+
func_sig = inspect.signature(func)
|
|
243
|
+
|
|
244
|
+
def lifted_func(*args, opts=None, **kwargs):
|
|
245
|
+
bound_args = func_sig.bind(*args, **kwargs)
|
|
246
|
+
# Convert tuple to list, see pulumi/pulumi#8172
|
|
247
|
+
args_list = list(bound_args.args)
|
|
248
|
+
return pulumi.Output.from_input({
|
|
249
|
+
'args': args_list,
|
|
250
|
+
'kwargs': bound_args.kwargs
|
|
251
|
+
}).apply(lambda resolved_args: func(*resolved_args['args'],
|
|
252
|
+
opts=opts,
|
|
253
|
+
**resolved_args['kwargs']))
|
|
254
|
+
|
|
255
|
+
return (lambda _: lifted_func)
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
def call_plain(
|
|
259
|
+
tok: str,
|
|
260
|
+
props: pulumi.Inputs,
|
|
261
|
+
res: typing.Optional[pulumi.Resource] = None,
|
|
262
|
+
typ: typing.Optional[type] = None,
|
|
263
|
+
) -> typing.Any:
|
|
264
|
+
"""
|
|
265
|
+
Wraps pulumi.runtime.plain to force the output and return it plainly.
|
|
266
|
+
"""
|
|
267
|
+
|
|
268
|
+
output = pulumi.runtime.call(tok, props, res, typ)
|
|
269
|
+
|
|
270
|
+
# Ingoring deps silently. They are typically non-empty, r.f() calls include r as a dependency.
|
|
271
|
+
result, known, secret, _ = _sync_await(asyncio.create_task(_await_output(output)))
|
|
272
|
+
|
|
273
|
+
problem = None
|
|
274
|
+
if not known:
|
|
275
|
+
problem = ' an unknown value'
|
|
276
|
+
elif secret:
|
|
277
|
+
problem = ' a secret value'
|
|
278
|
+
|
|
279
|
+
if problem:
|
|
280
|
+
raise AssertionError(
|
|
281
|
+
f"Plain resource method '{tok}' incorrectly returned {problem}. "
|
|
282
|
+
+ "This is an error in the provider, please report this to the provider developer."
|
|
283
|
+
)
|
|
284
|
+
|
|
285
|
+
return result
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
async def _await_output(o: pulumi.Output[typing.Any]) -> typing.Tuple[object, bool, bool, set]:
|
|
289
|
+
return (
|
|
290
|
+
await o._future,
|
|
291
|
+
await o._is_known,
|
|
292
|
+
await o._is_secret,
|
|
293
|
+
await o._resources,
|
|
294
|
+
)
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
# This is included to provide an upgrade path for users who are using a version
|
|
298
|
+
# of the Pulumi SDK (<3.121.0) that does not include the `deprecated` decorator.
|
|
299
|
+
def deprecated(message: str) -> typing.Callable[[C], C]:
|
|
300
|
+
"""
|
|
301
|
+
Decorator to indicate a function is deprecated.
|
|
302
|
+
|
|
303
|
+
As well as inserting appropriate statements to indicate that the function is
|
|
304
|
+
deprecated, this decorator also tags the function with a special attribute
|
|
305
|
+
so that Pulumi code can detect that it is deprecated and react appropriately
|
|
306
|
+
in certain situations.
|
|
307
|
+
|
|
308
|
+
message is the deprecation message that should be printed if the function is called.
|
|
309
|
+
"""
|
|
310
|
+
|
|
311
|
+
def decorator(fn: C) -> C:
|
|
312
|
+
if not callable(fn):
|
|
313
|
+
raise TypeError("Expected fn to be callable")
|
|
314
|
+
|
|
315
|
+
@functools.wraps(fn)
|
|
316
|
+
def deprecated_fn(*args, **kwargs):
|
|
317
|
+
warnings.warn(message)
|
|
318
|
+
pulumi.warn(f"{fn.__name__} is deprecated: {message}")
|
|
319
|
+
|
|
320
|
+
return fn(*args, **kwargs)
|
|
321
|
+
|
|
322
|
+
deprecated_fn.__dict__["_pulumi_deprecated_callable"] = fn
|
|
323
|
+
return typing.cast(C, deprecated_fn)
|
|
324
|
+
|
|
325
|
+
return decorator
|
|
326
|
+
|
|
327
|
+
def get_plugin_download_url():
|
|
328
|
+
return None
|
|
329
|
+
|
|
330
|
+
def get_version():
|
|
331
|
+
return _version_str
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import sys
|
|
7
|
+
from .vars import _ExportableConfig
|
|
8
|
+
|
|
9
|
+
sys.modules[__name__].__class__ = _ExportableConfig
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from .. import _utilities
|
|
16
|
+
|
|
17
|
+
account: Optional[str]
|
|
18
|
+
"""
|
|
19
|
+
The account for API operations.
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
debugTransportFile: Optional[str]
|
|
23
|
+
"""
|
|
24
|
+
File path to enable HTTP request/response debugging. When set, all HTTP requests and responses will be logged to this file.
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
prefetch: Optional[bool]
|
|
28
|
+
"""
|
|
29
|
+
Flag to enable the prefetch of zone records.
|
|
30
|
+
"""
|
|
31
|
+
|
|
32
|
+
sandbox: Optional[bool]
|
|
33
|
+
"""
|
|
34
|
+
Flag to enable the sandbox API.
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
token: Optional[str]
|
|
38
|
+
"""
|
|
39
|
+
The API v2 token for API operations.
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
userAgent: Optional[str]
|
|
43
|
+
"""
|
|
44
|
+
Custom string to append to the user agent used for sending HTTP requests to the API.
|
|
45
|
+
"""
|
|
46
|
+
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from .. import _utilities
|
|
16
|
+
|
|
17
|
+
import types
|
|
18
|
+
|
|
19
|
+
__config__ = pulumi.Config('dnsimple')
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class _ExportableConfig(types.ModuleType):
|
|
23
|
+
@_builtins.property
|
|
24
|
+
def account(self) -> Optional[str]:
|
|
25
|
+
"""
|
|
26
|
+
The account for API operations.
|
|
27
|
+
"""
|
|
28
|
+
return __config__.get('account')
|
|
29
|
+
|
|
30
|
+
@_builtins.property
|
|
31
|
+
def debug_transport_file(self) -> Optional[str]:
|
|
32
|
+
"""
|
|
33
|
+
File path to enable HTTP request/response debugging. When set, all HTTP requests and responses will be logged to this file.
|
|
34
|
+
"""
|
|
35
|
+
return __config__.get('debugTransportFile')
|
|
36
|
+
|
|
37
|
+
@_builtins.property
|
|
38
|
+
def prefetch(self) -> Optional[bool]:
|
|
39
|
+
"""
|
|
40
|
+
Flag to enable the prefetch of zone records.
|
|
41
|
+
"""
|
|
42
|
+
return __config__.get_bool('prefetch')
|
|
43
|
+
|
|
44
|
+
@_builtins.property
|
|
45
|
+
def sandbox(self) -> Optional[bool]:
|
|
46
|
+
"""
|
|
47
|
+
Flag to enable the sandbox API.
|
|
48
|
+
"""
|
|
49
|
+
return __config__.get_bool('sandbox')
|
|
50
|
+
|
|
51
|
+
@_builtins.property
|
|
52
|
+
def token(self) -> Optional[str]:
|
|
53
|
+
"""
|
|
54
|
+
The API v2 token for API operations.
|
|
55
|
+
"""
|
|
56
|
+
return __config__.get('token')
|
|
57
|
+
|
|
58
|
+
@_builtins.property
|
|
59
|
+
def user_agent(self) -> Optional[str]:
|
|
60
|
+
"""
|
|
61
|
+
Custom string to append to the user agent used for sending HTTP requests to the API.
|
|
62
|
+
"""
|
|
63
|
+
return __config__.get('userAgent')
|
|
64
|
+
|