canvas 0.13.1__py3-none-any.whl → 0.13.2__py3-none-any.whl
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.
Potentially problematic release.
This version of canvas might be problematic. Click here for more details.
|
@@ -274,8 +274,8 @@ plugin_runner/tests/test_plugin_runner.py,sha256=pj9C3-GNsTyUYNIkOiihmxAO67FQE1G
|
|
|
274
274
|
plugin_runner/tests/test_sandbox.py,sha256=6Jw2Akcl1KQpXb01FxDvI_ZToJzOcpABwFkXK3fl8BU,3434
|
|
275
275
|
pubsub/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
276
276
|
pubsub/pubsub.py,sha256=pyTW0JU8mtaqiAV6g6xjZwel1CVy2EonPMU-_vkmhUM,1044
|
|
277
|
-
settings.py,sha256=
|
|
278
|
-
canvas-0.13.
|
|
279
|
-
canvas-0.13.
|
|
280
|
-
canvas-0.13.
|
|
281
|
-
canvas-0.13.
|
|
277
|
+
settings.py,sha256=UG0jV2Sht7ftEJjqEyLKn9fld0jAtblqO7oJdfjNYvA,2144
|
|
278
|
+
canvas-0.13.2.dist-info/METADATA,sha256=JikPMsbC7-iYOeMXZv-pSWyq06V0H3D1Des1-IFnfro,4793
|
|
279
|
+
canvas-0.13.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
280
|
+
canvas-0.13.2.dist-info/entry_points.txt,sha256=VSmSo1IZ3aEfL7enmLmlWSraS_IIkoXNVeyXzgRxFiY,46
|
|
281
|
+
canvas-0.13.2.dist-info/RECORD,,
|
settings.py
CHANGED
|
@@ -2,18 +2,16 @@ import os
|
|
|
2
2
|
import sys
|
|
3
3
|
|
|
4
4
|
from dotenv import load_dotenv
|
|
5
|
-
from env_tools import env_to_bool
|
|
5
|
+
from env_tools import env_to_bool
|
|
6
6
|
|
|
7
7
|
from canvas_sdk.utils.db import get_database_dict_from_url
|
|
8
8
|
|
|
9
|
-
require_env, enforce_required_envs = get_enforcement_context()
|
|
10
|
-
|
|
11
9
|
load_dotenv()
|
|
12
10
|
|
|
13
11
|
ENV = os.getenv("ENV", "development")
|
|
14
12
|
IS_PRODUCTION = ENV == "production"
|
|
15
13
|
IS_TESTING = env_to_bool("IS_TESTING", "pytest" in sys.argv[0] or sys.argv[0] == "-c")
|
|
16
|
-
CUSTOMER_IDENTIFIER =
|
|
14
|
+
CUSTOMER_IDENTIFIER = os.getenv("CUSTOMER_IDENTIFIER", "local")
|
|
17
15
|
|
|
18
16
|
INTEGRATION_TEST_URL = os.getenv("INTEGRATION_TEST_URL")
|
|
19
17
|
INTEGRATION_TEST_CLIENT_ID = os.getenv("INTEGRATION_TEST_CLIENT_ID")
|
|
@@ -68,4 +66,3 @@ PLUGIN_DIRECTORY = os.getenv(
|
|
|
68
66
|
MANIFEST_FILE_NAME = "CANVAS_MANIFEST.json"
|
|
69
67
|
|
|
70
68
|
SECRETS_FILE_NAME = "SECRETS.json"
|
|
71
|
-
enforce_required_envs()
|
|
File without changes
|
|
File without changes
|