Working on membership still...
This commit is contained in:
@@ -622,20 +622,20 @@ def load_account_obj_membership_type(
|
||||
log.error(e.json())
|
||||
|
||||
if inc_account_cfg:
|
||||
if account_cfg_dict := load_account_cfg_obj(
|
||||
account_id = account_id,
|
||||
model_as_dict = model_as_dict,
|
||||
inc_membership_cfg = inc_membership_cfg,
|
||||
):
|
||||
account_obj.account_cfg = account_cfg_dict
|
||||
if account_cfg_result := load_account_cfg_obj(
|
||||
account_id = account_id,
|
||||
model_as_dict = model_as_dict,
|
||||
inc_membership_cfg = inc_membership_cfg,
|
||||
):
|
||||
account_obj.account_cfg = account_cfg_result
|
||||
else: account_obj.account_cfg = None
|
||||
|
||||
if inc_membership_cfg:
|
||||
if membership_cfg_dict := load_membership_cfg_obj(
|
||||
account_id = account_id,
|
||||
model_as_dict = model_as_dict,
|
||||
):
|
||||
account_obj.membership_cfg = membership_cfg_dict
|
||||
if membership_cfg_result := load_membership_cfg_obj(
|
||||
account_id = account_id,
|
||||
model_as_dict = model_as_dict,
|
||||
):
|
||||
account_obj.membership_cfg = membership_cfg_result
|
||||
else: account_obj.membership_cfg = None
|
||||
|
||||
# Updated 2021-06-18
|
||||
@@ -676,7 +676,6 @@ def load_account_obj_membership_type(
|
||||
|
||||
|
||||
|
||||
|
||||
# ### BEGIN ### API Account Methods ### load_account_obj_membership_group() ###
|
||||
# Working well as of 2021-06-11. Using as a template for other load objects.
|
||||
def load_account_obj_membership_group(
|
||||
|
||||
Reference in New Issue
Block a user