add method to get ip information
This commit is contained in:
@@ -12,6 +12,13 @@ class ContactPojo:
|
||||
mail: str
|
||||
store: str
|
||||
ip_country: str
|
||||
ip_address: str
|
||||
isp: str = None
|
||||
|
||||
def __repr__(self):
|
||||
return "phone:{}, passport:{}, last_name:{}, first_name:{}, mail:{}, store:{}, ip_country:{}, ip_address:{},isp:{}".format(
|
||||
self.phone, self.passport, self.last_name, self.first_name, self.mail, self.store, self.ip_country,
|
||||
self.ip_address, self.isp)
|
||||
|
||||
def __init__(self, phone_number: str, passport_number: str, last_name: str, first_name: str, mail: str, store: str,
|
||||
ip_country="FR"):
|
||||
|
||||
Reference in New Issue
Block a user