@@ -186,7 +186,7 @@ class City(Country):
186186 def __init__ (
187187 self , raw_response : Dict [str , Any ], locales : Optional [List [str ]] = None
188188 ) -> None :
189- super (City , self ).__init__ (raw_response , locales )
189+ super ().__init__ (raw_response , locales )
190190 self .city = geoip2 .records .City (locales , ** raw_response .get ("city" , {}))
191191 self .location = geoip2 .records .Location (** raw_response .get ("location" , {}))
192192 self .postal = geoip2 .records .Postal (** raw_response .get ("postal" , {}))
@@ -426,7 +426,7 @@ class AnonymousIP(SimpleModel):
426426 is_tor_exit_node : bool
427427
428428 def __init__ (self , raw : Dict [str , bool ]) -> None :
429- super (AnonymousIP , self ).__init__ (raw ) # type: ignore
429+ super ().__init__ (raw ) # type: ignore
430430 self .is_anonymous = raw .get ("is_anonymous" , False )
431431 self .is_anonymous_vpn = raw .get ("is_anonymous_vpn" , False )
432432 self .is_hosting_provider = raw .get ("is_hosting_provider" , False )
@@ -472,7 +472,7 @@ class ASN(SimpleModel):
472472
473473 # pylint:disable=too-many-arguments
474474 def __init__ (self , raw : Dict [str , Union [str , int ]]) -> None :
475- super (ASN , self ).__init__ (raw )
475+ super ().__init__ (raw )
476476 self .autonomous_system_number = cast (
477477 Optional [int ], raw .get ("autonomous_system_number" )
478478 )
@@ -517,7 +517,7 @@ class ConnectionType(SimpleModel):
517517 connection_type : Optional [str ]
518518
519519 def __init__ (self , raw : Dict [str , Union [str , int ]]) -> None :
520- super (ConnectionType , self ).__init__ (raw )
520+ super ().__init__ (raw )
521521 self .connection_type = cast (Optional [str ], raw .get ("connection_type" ))
522522
523523
@@ -551,7 +551,7 @@ class Domain(SimpleModel):
551551 domain : Optional [str ]
552552
553553 def __init__ (self , raw : Dict [str , Union [str , int ]]) -> None :
554- super (Domain , self ).__init__ (raw )
554+ super ().__init__ (raw )
555555 self .domain = cast (Optional [str ], raw .get ("domain" ))
556556
557557
@@ -605,6 +605,6 @@ class ISP(ASN):
605605
606606 # pylint:disable=too-many-arguments
607607 def __init__ (self , raw : Dict [str , Union [str , int ]]) -> None :
608- super (ISP , self ).__init__ (raw )
608+ super ().__init__ (raw )
609609 self .isp = cast (Optional [str ], raw .get ("isp" ))
610610 self .organization = cast (Optional [str ], raw .get ("organization" ))
0 commit comments