MCPcopy Create free account
hub / github.com/bundesAPI/smard-api / __init__

Method __init__

python-client/deutschland/smard/api/default_api.py:38–510  ·  view source on GitHub ↗
(self, api_client=None)

Source from the content-addressed store, hash-verified

36 """
37
38 def __init__(self, api_client=None):
39 if api_client is None:
40 api_client = ApiClient()
41 self.api_client = api_client
42 self.chart_data_filter_region_filter_copy_region_copy_resolution_timestamp_json_get_endpoint = _Endpoint(
43 settings={
44 "response_type": (TimeSeries,),
45 "auth": [],
46 "endpoint_path": "/chart_data/{filter}/{region}/{filterCopy}_{regionCopy}_{resolution}_{timestamp}.json",
47 "operation_id": "chart_data_filter_region_filter_copy_region_copy_resolution_timestamp_json_get",
48 "http_method": "GET",
49 "servers": None,
50 },
51 params_map={
52 "all": [
53 "filter",
54 "filter_copy",
55 "region",
56 "region_copy",
57 "resolution",
58 "timestamp",
59 ],
60 "required": [
61 "filter",
62 "filter_copy",
63 "region",
64 "region_copy",
65 "resolution",
66 "timestamp",
67 ],
68 "nullable": [],
69 "enum": [
70 "filter",
71 "filter_copy",
72 "region",
73 "region_copy",
74 "resolution",
75 ],
76 "validation": [],
77 },
78 root_map={
79 "validations": {},
80 "allowed_values": {
81 ("filter",): {
82 "1223": 1223,
83 "1224": 1224,
84 "1225": 1225,
85 "1226": 1226,
86 "1227": 1227,
87 "1228": 1228,
88 "4066": 4066,
89 "4067": 4067,
90 "4068": 4068,
91 "4069": 4069,
92 "4070": 4070,
93 "4071": 4071,
94 "410": 410,
95 "4359": 4359,

Callers

nothing calls this directly

Calls 1

ApiClientClass · 0.90

Tested by

no test coverage detected