We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Check for sent Label in E2E Tests
## Current Behavior

There are no checks on Labels sent to REST API.

## Expected Behavior

E2E Tests should also check if Label on the backend side was properly created.

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `backend/medtagger/config.py`
Content:
```
1 """Module responsible for reading data from application configuration."""
2 import os
3 from typing import Any
4 
5 
6 class AppConfiguration:
7     """Class that represents application configuration."""
8 
9     def __init__(self) -> None:
10         """Initialize application configuration."""
11         pass
12 
13     @staticmethod
14     def get(namespace: str, key: str, fallback: Any = None) -> Any:
15         """Return value of a given configuration entry.
16 
17         :param namespace: name of a namespace for given entry
18         :param key: key for which it should return value from given namespace
19         :param fallback: default value returned if key was not found
20         :return: value for given entry
21         """
22         variable_name = 'MEDTAGGER__' + namespace.upper() + '_' + key.upper()
23         return os.environ.get(variable_name, fallback)
24 
25     @staticmethod
26     def getint(namespace: str, key: str, fallback: int = 0) -> int:
27         """Return integer value for given key in namespace."""
28         return int(AppConfiguration.get(namespace, key, fallback))
29 
30     @staticmethod
31     def getboolean(namespace: str, key: str, fallback: bool = False) -> bool:
32         """Return boolean value for given key in namespace."""
33         return bool(AppConfiguration.getint(namespace, key, fallback))
34
```

Path: `backend/medtagger/api/exceptions.py`
Content:
```
1 """Exceptions used across whole API."""
2 from medtagger.exceptions import MedTaggerException
3 
4 
5 class BaseHTTPException(MedTaggerException):
6     """Base class for all HTTP Exceptions."""
7 
8     pass
9 
10 
11 class UnauthorizedException(BaseHTTPException):
12     """Exception designed to use once there was an authorization error during business logic processing."""
13 
14     pass
15 
16 
17 class NotFoundException(BaseHTTPException):
18     """Exception designed to use while the object that user was looking for could not be found."""
19 
20     pass
21 
22 
23 class InvalidArgumentsException(BaseHTTPException):
24     """Exception designed to use with invalid arguments (400 status code)."""
25 
26     pass
27 
28 
29 class AccessForbiddenException(BaseHTTPException):
30     """Exception designed to use while the user does not have a privilege to perform action."""
31 
32     pass
33
```

Path: `backend/medtagger/exceptions.py`
Content:
```
1 """All available Exceptions for whole project."""
2 
3 
4 class MedTaggerException(Exception):
5     """Base class for all HTTP Exceptions."""
6 
7     pass
8 
9 
10 class UnsupportedActionException(MedTaggerException):
11     """Exception for unsupported Action."""
12 
13     pass
14 
15 
16 class InvalidResponseException(MedTaggerException):
17     """Exception for invalid Response."""
18 
19     pass
20 
21 
22 class InternalErrorException(MedTaggerException):
23     """Exception designed to use to indicate internal errors (like DB/Storage error)."""
24 
25     pass
26
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/backend/medtagger/api/exceptions.py b/backend/medtagger/api/exceptions.py
--- a/backend/medtagger/api/exceptions.py
+++ b/backend/medtagger/api/exceptions.py
@@ -5,28 +5,28 @@
 class BaseHTTPException(MedTaggerException):
     """Base class for all HTTP Exceptions."""
 
-    pass
+    pass  # pylint: disable=unnecessary-pass
 
 
 class UnauthorizedException(BaseHTTPException):
     """Exception designed to use once there was an authorization error during business logic processing."""
 
-    pass
+    pass  # pylint: disable=unnecessary-pass
 
 
 class NotFoundException(BaseHTTPException):
     """Exception designed to use while the object that user was looking for could not be found."""
 
-    pass
+    pass  # pylint: disable=unnecessary-pass
 
 
 class InvalidArgumentsException(BaseHTTPException):
     """Exception designed to use with invalid arguments (400 status code)."""
 
-    pass
+    pass  # pylint: disable=unnecessary-pass
 
 
 class AccessForbiddenException(BaseHTTPException):
     """Exception designed to use while the user does not have a privilege to perform action."""
 
-    pass
+    pass  # pylint: disable=unnecessary-pass
diff --git a/backend/medtagger/config.py b/backend/medtagger/config.py
--- a/backend/medtagger/config.py
+++ b/backend/medtagger/config.py
@@ -6,10 +6,6 @@
 class AppConfiguration:
     """Class that represents application configuration."""
 
-    def __init__(self) -> None:
-        """Initialize application configuration."""
-        pass
-
     @staticmethod
     def get(namespace: str, key: str, fallback: Any = None) -> Any:
         """Return value of a given configuration entry.
diff --git a/backend/medtagger/exceptions.py b/backend/medtagger/exceptions.py
--- a/backend/medtagger/exceptions.py
+++ b/backend/medtagger/exceptions.py
@@ -4,22 +4,22 @@
 class MedTaggerException(Exception):
     """Base class for all HTTP Exceptions."""
 
-    pass
+    pass  # pylint: disable=unnecessary-pass
 
 
 class UnsupportedActionException(MedTaggerException):
     """Exception for unsupported Action."""
 
-    pass
+    pass  # pylint: disable=unnecessary-pass
 
 
 class InvalidResponseException(MedTaggerException):
     """Exception for invalid Response."""
 
-    pass
+    pass  # pylint: disable=unnecessary-pass
 
 
 class InternalErrorException(MedTaggerException):
     """Exception designed to use to indicate internal errors (like DB/Storage error)."""
 
-    pass
+    pass  # pylint: disable=unnecessary-pass

{"golden_diff": "diff --git a/backend/medtagger/api/exceptions.py b/backend/medtagger/api/exceptions.py\n--- a/backend/medtagger/api/exceptions.py\n+++ b/backend/medtagger/api/exceptions.py\n@@ -5,28 +5,28 @@\n class BaseHTTPException(MedTaggerException):\n     \"\"\"Base class for all HTTP Exceptions.\"\"\"\n \n-    pass\n+    pass  # pylint: disable=unnecessary-pass\n \n \n class UnauthorizedException(BaseHTTPException):\n     \"\"\"Exception designed to use once there was an authorization error during business logic processing.\"\"\"\n \n-    pass\n+    pass  # pylint: disable=unnecessary-pass\n \n \n class NotFoundException(BaseHTTPException):\n     \"\"\"Exception designed to use while the object that user was looking for could not be found.\"\"\"\n \n-    pass\n+    pass  # pylint: disable=unnecessary-pass\n \n \n class InvalidArgumentsException(BaseHTTPException):\n     \"\"\"Exception designed to use with invalid arguments (400 status code).\"\"\"\n \n-    pass\n+    pass  # pylint: disable=unnecessary-pass\n \n \n class AccessForbiddenException(BaseHTTPException):\n     \"\"\"Exception designed to use while the user does not have a privilege to perform action.\"\"\"\n \n-    pass\n+    pass  # pylint: disable=unnecessary-pass\ndiff --git a/backend/medtagger/config.py b/backend/medtagger/config.py\n--- a/backend/medtagger/config.py\n+++ b/backend/medtagger/config.py\n@@ -6,10 +6,6 @@\n class AppConfiguration:\n     \"\"\"Class that represents application configuration.\"\"\"\n \n-    def __init__(self) -> None:\n-        \"\"\"Initialize application configuration.\"\"\"\n-        pass\n-\n     @staticmethod\n     def get(namespace: str, key: str, fallback: Any = None) -> Any:\n         \"\"\"Return value of a given configuration entry.\ndiff --git a/backend/medtagger/exceptions.py b/backend/medtagger/exceptions.py\n--- a/backend/medtagger/exceptions.py\n+++ b/backend/medtagger/exceptions.py\n@@ -4,22 +4,22 @@\n class MedTaggerException(Exception):\n     \"\"\"Base class for all HTTP Exceptions.\"\"\"\n \n-    pass\n+    pass  # pylint: disable=unnecessary-pass\n \n \n class UnsupportedActionException(MedTaggerException):\n     \"\"\"Exception for unsupported Action.\"\"\"\n \n-    pass\n+    pass  # pylint: disable=unnecessary-pass\n \n \n class InvalidResponseException(MedTaggerException):\n     \"\"\"Exception for invalid Response.\"\"\"\n \n-    pass\n+    pass  # pylint: disable=unnecessary-pass\n \n \n class InternalErrorException(MedTaggerException):\n     \"\"\"Exception designed to use to indicate internal errors (like DB/Storage error).\"\"\"\n \n-    pass\n+    pass  # pylint: disable=unnecessary-pass\n", "issue": "Check for sent Label in E2E Tests\n## Current Behavior\r\n\r\nThere are no checks on Labels sent to REST API.\r\n\r\n## Expected Behavior\r\n\r\nE2E Tests should also check if Label on the backend side was properly created.\n", "before_files": [{"content": "\"\"\"Module responsible for reading data from application configuration.\"\"\"\nimport os\nfrom typing import Any\n\n\nclass AppConfiguration:\n    \"\"\"Class that represents application configuration.\"\"\"\n\n    def __init__(self) -> None:\n        \"\"\"Initialize application configuration.\"\"\"\n        pass\n\n    @staticmethod\n    def get(namespace: str, key: str, fallback: Any = None) -> Any:\n        \"\"\"Return value of a given configuration entry.\n\n        :param namespace: name of a namespace for given entry\n        :param key: key for which it should return value from given namespace\n        :param fallback: default value returned if key was not found\n        :return: value for given entry\n        \"\"\"\n        variable_name = 'MEDTAGGER__' + namespace.upper() + '_' + key.upper()\n        return os.environ.get(variable_name, fallback)\n\n    @staticmethod\n    def getint(namespace: str, key: str, fallback: int = 0) -> int:\n        \"\"\"Return integer value for given key in namespace.\"\"\"\n        return int(AppConfiguration.get(namespace, key, fallback))\n\n    @staticmethod\n    def getboolean(namespace: str, key: str, fallback: bool = False) -> bool:\n        \"\"\"Return boolean value for given key in namespace.\"\"\"\n        return bool(AppConfiguration.getint(namespace, key, fallback))\n", "path": "backend/medtagger/config.py"}, {"content": "\"\"\"Exceptions used across whole API.\"\"\"\nfrom medtagger.exceptions import MedTaggerException\n\n\nclass BaseHTTPException(MedTaggerException):\n    \"\"\"Base class for all HTTP Exceptions.\"\"\"\n\n    pass\n\n\nclass UnauthorizedException(BaseHTTPException):\n    \"\"\"Exception designed to use once there was an authorization error during business logic processing.\"\"\"\n\n    pass\n\n\nclass NotFoundException(BaseHTTPException):\n    \"\"\"Exception designed to use while the object that user was looking for could not be found.\"\"\"\n\n    pass\n\n\nclass InvalidArgumentsException(BaseHTTPException):\n    \"\"\"Exception designed to use with invalid arguments (400 status code).\"\"\"\n\n    pass\n\n\nclass AccessForbiddenException(BaseHTTPException):\n    \"\"\"Exception designed to use while the user does not have a privilege to perform action.\"\"\"\n\n    pass\n", "path": "backend/medtagger/api/exceptions.py"}, {"content": "\"\"\"All available Exceptions for whole project.\"\"\"\n\n\nclass MedTaggerException(Exception):\n    \"\"\"Base class for all HTTP Exceptions.\"\"\"\n\n    pass\n\n\nclass UnsupportedActionException(MedTaggerException):\n    \"\"\"Exception for unsupported Action.\"\"\"\n\n    pass\n\n\nclass InvalidResponseException(MedTaggerException):\n    \"\"\"Exception for invalid Response.\"\"\"\n\n    pass\n\n\nclass InternalErrorException(MedTaggerException):\n    \"\"\"Exception designed to use to indicate internal errors (like DB/Storage error).\"\"\"\n\n    pass\n", "path": "backend/medtagger/exceptions.py"}], "after_files": [{"content": "\"\"\"Module responsible for reading data from application configuration.\"\"\"\nimport os\nfrom typing import Any\n\n\nclass AppConfiguration:\n    \"\"\"Class that represents application configuration.\"\"\"\n\n    @staticmethod\n    def get(namespace: str, key: str, fallback: Any = None) -> Any:\n        \"\"\"Return value of a given configuration entry.\n\n        :param namespace: name of a namespace for given entry\n        :param key: key for which it should return value from given namespace\n        :param fallback: default value returned if key was not found\n        :return: value for given entry\n        \"\"\"\n        variable_name = 'MEDTAGGER__' + namespace.upper() + '_' + key.upper()\n        return os.environ.get(variable_name, fallback)\n\n    @staticmethod\n    def getint(namespace: str, key: str, fallback: int = 0) -> int:\n        \"\"\"Return integer value for given key in namespace.\"\"\"\n        return int(AppConfiguration.get(namespace, key, fallback))\n\n    @staticmethod\n    def getboolean(namespace: str, key: str, fallback: bool = False) -> bool:\n        \"\"\"Return boolean value for given key in namespace.\"\"\"\n        return bool(AppConfiguration.getint(namespace, key, fallback))\n", "path": "backend/medtagger/config.py"}, {"content": "\"\"\"Exceptions used across whole API.\"\"\"\nfrom medtagger.exceptions import MedTaggerException\n\n\nclass BaseHTTPException(MedTaggerException):\n    \"\"\"Base class for all HTTP Exceptions.\"\"\"\n\n    pass  # pylint: disable=unnecessary-pass\n\n\nclass UnauthorizedException(BaseHTTPException):\n    \"\"\"Exception designed to use once there was an authorization error during business logic processing.\"\"\"\n\n    pass  # pylint: disable=unnecessary-pass\n\n\nclass NotFoundException(BaseHTTPException):\n    \"\"\"Exception designed to use while the object that user was looking for could not be found.\"\"\"\n\n    pass  # pylint: disable=unnecessary-pass\n\n\nclass InvalidArgumentsException(BaseHTTPException):\n    \"\"\"Exception designed to use with invalid arguments (400 status code).\"\"\"\n\n    pass  # pylint: disable=unnecessary-pass\n\n\nclass AccessForbiddenException(BaseHTTPException):\n    \"\"\"Exception designed to use while the user does not have a privilege to perform action.\"\"\"\n\n    pass  # pylint: disable=unnecessary-pass\n", "path": "backend/medtagger/api/exceptions.py"}, {"content": "\"\"\"All available Exceptions for whole project.\"\"\"\n\n\nclass MedTaggerException(Exception):\n    \"\"\"Base class for all HTTP Exceptions.\"\"\"\n\n    pass  # pylint: disable=unnecessary-pass\n\n\nclass UnsupportedActionException(MedTaggerException):\n    \"\"\"Exception for unsupported Action.\"\"\"\n\n    pass  # pylint: disable=unnecessary-pass\n\n\nclass InvalidResponseException(MedTaggerException):\n    \"\"\"Exception for invalid Response.\"\"\"\n\n    pass  # pylint: disable=unnecessary-pass\n\n\nclass InternalErrorException(MedTaggerException):\n    \"\"\"Exception designed to use to indicate internal errors (like DB/Storage error).\"\"\"\n\n    pass  # pylint: disable=unnecessary-pass\n", "path": "backend/medtagger/exceptions.py"}]}