@@ -587,7 +587,7 @@ def __init__(
587587 )
588588 name = kwargs .pop ("transaction" )
589589
590- super (Transaction , self ).__init__ (** kwargs )
590+ super ().__init__ (** kwargs )
591591
592592 self .name = name
593593 self .source = source
@@ -616,7 +616,7 @@ def __repr__(self):
616616
617617 def __enter__ (self ):
618618 # type: () -> Transaction
619- super (Transaction , self ).__enter__ ()
619+ super ().__enter__ ()
620620
621621 if self ._profile is not None :
622622 self ._profile .__enter__ ()
@@ -628,7 +628,7 @@ def __exit__(self, ty, value, tb):
628628 if self ._profile is not None :
629629 self ._profile .__exit__ (ty , value , tb )
630630
631- super (Transaction , self ).__exit__ (ty , value , tb )
631+ super ().__exit__ (ty , value , tb )
632632
633633 @property
634634 def containing_transaction (self ):
@@ -689,7 +689,7 @@ def finish(self, hub=None, end_timestamp=None):
689689 )
690690 self .name = "<unlabeled transaction>"
691691
692- super (Transaction , self ).finish (hub , end_timestamp )
692+ super ().finish (hub , end_timestamp )
693693
694694 if not self .sampled :
695695 # At this point a `sampled = None` should have already been resolved
@@ -761,13 +761,13 @@ def set_http_status(self, http_status):
761761 """Sets the status of the Transaction according to the given HTTP status.
762762
763763 :param http_status: The HTTP status code."""
764- super (Transaction , self ).set_http_status (http_status )
764+ super ().set_http_status (http_status )
765765 self .set_context ("response" , {"status_code" : http_status })
766766
767767 def to_json (self ):
768768 # type: () -> Dict[str, Any]
769769 """Returns a JSON-compatible representation of the transaction."""
770- rv = super (Transaction , self ).to_json ()
770+ rv = super ().to_json ()
771771
772772 rv ["name" ] = self .name
773773 rv ["source" ] = self .source
0 commit comments