Skip to content

Commit 6d40b45

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 8db1e29 commit 6d40b45

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/cloudevents/core/v1/event.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121

2222
class CloudEvent:
23-
def __init__(self, attributes: dict, data: Optional[dict] = None) -> 'CloudEvent':
23+
def __init__(self, attributes: dict, data: Optional[dict] = None) -> "CloudEvent":
2424
"""
2525
Create a new CloudEvent instance.
2626
@@ -92,10 +92,10 @@ def __validate_attribute(self, attributes: dict):
9292
def get_attribute(self, attribute: str) -> Optional[Any]:
9393
"""
9494
Retrieve a value of an attribute of the event denoted by the given `attribute`.
95-
95+
9696
:param attribute: The name of the event attribute to retrieve the value for.
9797
:type attribute: str
98-
98+
9999
:return: The event attribute value.
100100
:rtype: Optional[Any]
101101
"""

0 commit comments

Comments
 (0)