Working on contact and address create update v4 along with person and user creation and update.

This commit is contained in:
Scott Idem
2021-08-25 20:06:07 -04:00
parent 107366d4f8
commit 3c13b62502
3 changed files with 295 additions and 154 deletions

View File

@@ -29,6 +29,8 @@ def create_user_obj(
user_obj_new: User_New_Base,
allow_update: bool = False, # Allow updating the user account if one is found
avoid_dup_username: bool = False, # Avoid creating a duplicate by modifying the supplied username
create_sub_obj: bool = False,
fail_any: bool = True, # Fail if any thing goes wrong for sub objects
return_dict: bool = False,
) -> bool|dict|int:
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL