File .deepsource.toml
not found in the default branch of the repository root. Please refer to the docs.
610 organization_pk = result
611 serializer = GetCustomerAccessRequestSerializer(data=request.query_params)
612 serializer.is_valid(raise_exception=True)
613 # try: 614 # username = self.request.user.username
615 # except:
616 # username = None
28 return Organization.objects.filter(pk=organization.pk)
29
30
31# class OrganizationView(APIView):32# permission_classes = [IsAuthenticated]
33
34# def get(self, request, format=None):
31# class OrganizationView(APIView):
32# permission_classes = [IsAuthenticated]
33
34# def get(self, request, format=None):35# """
36# Get the current settings for the organization.
37# """
135 track_event_payload,
136 get_events_with_org_customer_id,
137 ):
138 # batch_events=true139 setup_dict = track_event_test_common_setup(
140 idempotency_already_created=False, customer_id_exists=True
141 )
91 track_event_payload,
92 get_events_with_org_customer_id,
93 ):
94 # idempotency_already_created=false, customer_id_exists = true 95 setup_dict = track_event_test_common_setup(
96 idempotency_already_created=False, customer_id_exists=True
97 )
It is recommended to remove any commented code in your codebase.
for item in sequence:
# print(item)
do_something(item)
# def old_function():
# '''Older implementation that has been replaced'''
# data = get_data()
# api.post(data)
for item in sequence:
do_something(item)