export recent valid profiles

This commit is contained in:
2022-03-25 18:04:31 +01:00
parent 1b973adec3
commit 51bde50d7a
+2 -3
View File
@@ -19,8 +19,7 @@ def get_random_id_number() -> str:
def write_the_valid_profiles_to_excel(): def write_the_valid_profiles_to_excel():
day_list = ['2022-03-04', '2022-03-07', '2022-03-08', '2022-03-09', '2022-03-10', '2022-03-11', '2022-03-14', day_list = ['2022-03-24','2022-03-25']
'2022-03-15', '2022-03-16']
collection = [] collection = []
for day in day_list: for day in day_list:
@@ -36,7 +35,7 @@ def write_the_valid_profiles_to_excel():
contact = ContactPojo(reserve_pojo.phone, passport_number=get_random_id_number(), contact = ContactPojo(reserve_pojo.phone, passport_number=get_random_id_number(),
last_name=reserve_pojo.lastName, first_name=reserve_pojo.firstName, ccid="", last_name=reserve_pojo.lastName, first_name=reserve_pojo.firstName, ccid="",
mail=reserve_pojo.email, position=0) mail=reserve_pojo.email, position=0)
seed = 8 # number of characters in the string. # seed = 8 # number of characters in the string.
# call random.choices() string module to find the string in Uppercase + numeric data. # call random.choices() string module to find the string in Uppercase + numeric data.
# contact.passport = get_random_id_number() # contact.passport = get_random_id_number()
# if contact.passport == None or len(contact.passport) == 0: # if contact.passport == None or len(contact.passport) == 0: