File .deepsource.toml
not found in the default branch of the repository root. Please refer to the docs.
760 return Response(
761 {
762 "status": "success",
763 "detail": f"Customers succesfully imported {num} customers from {source}.", 764 },
765 status=status.HTTP_201_CREATED,
766 )
812 return Response(
813 {
814 "status": "success",
815 "detail": f"Payment objects succesfully imported {num} payment objects from {source}.", 816 },
817 status=status.HTTP_201_CREATED,
818 )
911 return Response(
912 {
913 "status": "success",
914 "detail": f"Plan {billing_plan} succesfully converted from experimental to active.", 915 },
916 status=status.HTTP_200_OK,
917 )
1004 if len(customer_balances_adjustment) == 0:
1005 return Response(
1006 {
1007 "error_detail": "CustomerBalanceAdjustmentView with customer_id {} does not exist".format(1008 customer_id
1009 )
1010 },
76 body = f"Use this link to join {organization_name} team: {reset_url}"
77 from_email = f"Lotus <{DEFAULT_FROM_EMAIL}>"
78 html = """
79 <p>Register to <a href={url}>join {organization_name}</a> team</p>""".format(80 url=reset_url, organization_name=organization_name
81 )
82 msg = EmailMultiAlternatives(subject, body, from_email, [to])
Line length greater than configured max_line_length
detected, defaults to 79 character. This limit can be configured docs