Skip to content

Commit 81c4850

Browse files
bundesbotbundesbot
authored andcommitted
Generate newest code from openapi.yaml
1 parent 32f181b commit 81c4850

122 files changed

Lines changed: 662 additions & 766 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

python-client/deutschland/dip_bundestag/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# flake8: noqa
22

33
"""
4-
Deutscher Bundestag - DIP
4+
Deutscher Bundestag - DIP
55
6-
API des Dokumentations- und Informationssystems für Parlamentsmaterialien # noqa: E501
6+
API des Dokumentations- und Informationssystems für Parlamentsmaterialien # noqa: E501
77
8-
The version of the OpenAPI document: 1.2
9-
Contact: parlamentsdokumentation@bundestag.de
10-
Generated by: https://openapi-generator.tech
8+
The version of the OpenAPI document: 1.2
9+
Contact: parlamentsdokumentation@bundestag.de
10+
Generated by: https://openapi-generator.tech
1111
"""
1212

1313

python-client/deutschland/dip_bundestag/api/aktivitten_api.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
"""
2-
Deutscher Bundestag - DIP
2+
Deutscher Bundestag - DIP
33
4-
API des Dokumentations- und Informationssystems für Parlamentsmaterialien # noqa: E501
4+
API des Dokumentations- und Informationssystems für Parlamentsmaterialien # noqa: E501
55
6-
The version of the OpenAPI document: 1.2
7-
Contact: parlamentsdokumentation@bundestag.de
8-
Generated by: https://openapi-generator.tech
6+
The version of the OpenAPI document: 1.2
7+
Contact: parlamentsdokumentation@bundestag.de
8+
Generated by: https://openapi-generator.tech
99
"""
1010

11-
1211
import re # noqa: F401
1312
import sys # noqa: F401
1413

python-client/deutschland/dip_bundestag/api/drucksachen_api.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
"""
2-
Deutscher Bundestag - DIP
2+
Deutscher Bundestag - DIP
33
4-
API des Dokumentations- und Informationssystems für Parlamentsmaterialien # noqa: E501
4+
API des Dokumentations- und Informationssystems für Parlamentsmaterialien # noqa: E501
55
6-
The version of the OpenAPI document: 1.2
7-
Contact: parlamentsdokumentation@bundestag.de
8-
Generated by: https://openapi-generator.tech
6+
The version of the OpenAPI document: 1.2
7+
Contact: parlamentsdokumentation@bundestag.de
8+
Generated by: https://openapi-generator.tech
99
"""
1010

11-
1211
import re # noqa: F401
1312
import sys # noqa: F401
1413

python-client/deutschland/dip_bundestag/api/personenstammdaten_api.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
"""
2-
Deutscher Bundestag - DIP
2+
Deutscher Bundestag - DIP
33
4-
API des Dokumentations- und Informationssystems für Parlamentsmaterialien # noqa: E501
4+
API des Dokumentations- und Informationssystems für Parlamentsmaterialien # noqa: E501
55
6-
The version of the OpenAPI document: 1.2
7-
Contact: parlamentsdokumentation@bundestag.de
8-
Generated by: https://openapi-generator.tech
6+
The version of the OpenAPI document: 1.2
7+
Contact: parlamentsdokumentation@bundestag.de
8+
Generated by: https://openapi-generator.tech
99
"""
1010

11-
1211
import re # noqa: F401
1312
import sys # noqa: F401
1413

python-client/deutschland/dip_bundestag/api/plenarprotokolle_api.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
"""
2-
Deutscher Bundestag - DIP
2+
Deutscher Bundestag - DIP
33
4-
API des Dokumentations- und Informationssystems für Parlamentsmaterialien # noqa: E501
4+
API des Dokumentations- und Informationssystems für Parlamentsmaterialien # noqa: E501
55
6-
The version of the OpenAPI document: 1.2
7-
Contact: parlamentsdokumentation@bundestag.de
8-
Generated by: https://openapi-generator.tech
6+
The version of the OpenAPI document: 1.2
7+
Contact: parlamentsdokumentation@bundestag.de
8+
Generated by: https://openapi-generator.tech
99
"""
1010

11-
1211
import re # noqa: F401
1312
import sys # noqa: F401
1413

python-client/deutschland/dip_bundestag/api/vorgangspositionen_api.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
"""
2-
Deutscher Bundestag - DIP
2+
Deutscher Bundestag - DIP
33
4-
API des Dokumentations- und Informationssystems für Parlamentsmaterialien # noqa: E501
4+
API des Dokumentations- und Informationssystems für Parlamentsmaterialien # noqa: E501
55
6-
The version of the OpenAPI document: 1.2
7-
Contact: parlamentsdokumentation@bundestag.de
8-
Generated by: https://openapi-generator.tech
6+
The version of the OpenAPI document: 1.2
7+
Contact: parlamentsdokumentation@bundestag.de
8+
Generated by: https://openapi-generator.tech
99
"""
1010

11-
1211
import re # noqa: F401
1312
import sys # noqa: F401
1413

python-client/deutschland/dip_bundestag/api/vorgnge_api.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
"""
2-
Deutscher Bundestag - DIP
2+
Deutscher Bundestag - DIP
33
4-
API des Dokumentations- und Informationssystems für Parlamentsmaterialien # noqa: E501
4+
API des Dokumentations- und Informationssystems für Parlamentsmaterialien # noqa: E501
55
6-
The version of the OpenAPI document: 1.2
7-
Contact: parlamentsdokumentation@bundestag.de
8-
Generated by: https://openapi-generator.tech
6+
The version of the OpenAPI document: 1.2
7+
Contact: parlamentsdokumentation@bundestag.de
8+
Generated by: https://openapi-generator.tech
99
"""
1010

11-
1211
import re # noqa: F401
1312
import sys # noqa: F401
1413

python-client/deutschland/dip_bundestag/api_client.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
"""
2-
Deutscher Bundestag - DIP
2+
Deutscher Bundestag - DIP
33
4-
API des Dokumentations- und Informationssystems für Parlamentsmaterialien # noqa: E501
4+
API des Dokumentations- und Informationssystems für Parlamentsmaterialien # noqa: E501
55
6-
The version of the OpenAPI document: 1.2
7-
Contact: parlamentsdokumentation@bundestag.de
8-
Generated by: https://openapi-generator.tech
6+
The version of the OpenAPI document: 1.2
7+
Contact: parlamentsdokumentation@bundestag.de
8+
Generated by: https://openapi-generator.tech
99
"""
1010

11-
1211
import atexit
1312
import io
1413
import json
@@ -151,6 +150,7 @@ def __call_api(
151150
typing.List[typing.Dict[str, typing.Any]]
152151
] = None,
153152
):
153+
154154
config = self.configuration
155155

156156
# header parameters
@@ -916,6 +916,7 @@ def __call__(self, *args, **kwargs):
916916
return self.callable(self, *args, **kwargs)
917917

918918
def call_with_http_info(self, **kwargs):
919+
919920
try:
920921
index = (
921922
self.api_client.configuration.server_operation_index.get(

python-client/deutschland/dip_bundestag/configuration.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
"""
2-
Deutscher Bundestag - DIP
2+
Deutscher Bundestag - DIP
33
4-
API des Dokumentations- und Informationssystems für Parlamentsmaterialien # noqa: E501
4+
API des Dokumentations- und Informationssystems für Parlamentsmaterialien # noqa: E501
55
6-
The version of the OpenAPI document: 1.2
7-
Contact: parlamentsdokumentation@bundestag.de
8-
Generated by: https://openapi-generator.tech
6+
The version of the OpenAPI document: 1.2
7+
Contact: parlamentsdokumentation@bundestag.de
8+
Generated by: https://openapi-generator.tech
99
"""
1010

11-
1211
import copy
1312
import logging
1413
import multiprocessing

python-client/deutschland/dip_bundestag/exceptions.py

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
"""
2-
Deutscher Bundestag - DIP
2+
Deutscher Bundestag - DIP
33
4-
API des Dokumentations- und Informationssystems für Parlamentsmaterialien # noqa: E501
4+
API des Dokumentations- und Informationssystems für Parlamentsmaterialien # noqa: E501
55
6-
The version of the OpenAPI document: 1.2
7-
Contact: parlamentsdokumentation@bundestag.de
8-
Generated by: https://openapi-generator.tech
6+
The version of the OpenAPI document: 1.2
7+
Contact: parlamentsdokumentation@bundestag.de
8+
Generated by: https://openapi-generator.tech
99
"""
1010

1111

@@ -96,6 +96,7 @@ def __init__(self, msg, path_to_item=None):
9696

9797

9898
class ApiException(OpenApiException):
99+
99100
def __init__(self, status=None, reason=None, http_resp=None):
100101
if http_resp:
101102
self.status = http_resp.status
@@ -123,21 +124,25 @@ def __str__(self):
123124

124125

125126
class NotFoundException(ApiException):
127+
126128
def __init__(self, status=None, reason=None, http_resp=None):
127129
super(NotFoundException, self).__init__(status, reason, http_resp)
128130

129131

130132
class UnauthorizedException(ApiException):
133+
131134
def __init__(self, status=None, reason=None, http_resp=None):
132135
super(UnauthorizedException, self).__init__(status, reason, http_resp)
133136

134137

135138
class ForbiddenException(ApiException):
139+
136140
def __init__(self, status=None, reason=None, http_resp=None):
137141
super(ForbiddenException, self).__init__(status, reason, http_resp)
138142

139143

140144
class ServiceException(ApiException):
145+
141146
def __init__(self, status=None, reason=None, http_resp=None):
142147
super(ServiceException, self).__init__(status, reason, http_resp)
143148

0 commit comments

Comments
 (0)