arcane-flask 2.0.2__tar.gz → 2.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {arcane_flask-2.0.2 → arcane_flask-2.0.4}/PKG-INFO +1 -1
- {arcane_flask-2.0.2 → arcane_flask-2.0.4}/arcane/flask/tracking.py +1 -3
- {arcane_flask-2.0.2 → arcane_flask-2.0.4}/pyproject.toml +1 -1
- {arcane_flask-2.0.2 → arcane_flask-2.0.4}/README.md +0 -0
- {arcane_flask-2.0.2 → arcane_flask-2.0.4}/arcane/flask/__init__.py +0 -0
- {arcane_flask-2.0.2 → arcane_flask-2.0.4}/arcane/flask/authentication.py +0 -0
- {arcane_flask-2.0.2 → arcane_flask-2.0.4}/arcane/flask/exception_decorator.py +0 -0
- {arcane_flask-2.0.2 → arcane_flask-2.0.4}/arcane/flask/http_response.py +0 -0
- {arcane_flask-2.0.2 → arcane_flask-2.0.4}/arcane/flask/log.py +0 -0
- {arcane_flask-2.0.2 → arcane_flask-2.0.4}/arcane/flask/services.py +0 -0
- {arcane_flask-2.0.2 → arcane_flask-2.0.4}/arcane/flask/types.py +0 -0
|
@@ -4,8 +4,6 @@ import uuid
|
|
|
4
4
|
import json
|
|
5
5
|
from typing import Optional, Dict
|
|
6
6
|
|
|
7
|
-
from google.cloud.datastore.query import PropertyFilter
|
|
8
|
-
|
|
9
7
|
from .log import adscale_log
|
|
10
8
|
from .services import ServiceEnum
|
|
11
9
|
from arcane.datastore import Client as DatastoreClient
|
|
@@ -28,7 +26,7 @@ def send_tracking_information(
|
|
|
28
26
|
""" Send pubsub message to the tracking cloud function"""
|
|
29
27
|
|
|
30
28
|
users_query = datastore_client.query(kind='users')
|
|
31
|
-
users_query.add_filter(
|
|
29
|
+
users_query.add_filter('email', '=', email)
|
|
32
30
|
if users_query is None:
|
|
33
31
|
adscale_log(ServiceEnum.TRACKING, f'User {email} is not an Adscale User. Tracking info will not be saved.')
|
|
34
32
|
else:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|