reflex 0.7.3a1__py3-none-any.whl → 0.7.4__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 reflex might be problematic. Click here for more details.
- reflex/.templates/web/components/reflex/radix_themes_color_mode_provider.js +9 -1
- reflex/.templates/web/utils/state.js +1 -1
- reflex/app.py +21 -5
- reflex/app_mixins/middleware.py +2 -3
- reflex/base.py +3 -3
- reflex/compiler/compiler.py +68 -8
- reflex/components/component.py +6 -3
- reflex/components/core/client_side_routing.py +3 -3
- reflex/components/core/cond.py +20 -12
- reflex/components/core/upload.py +1 -1
- reflex/components/dynamic.py +2 -4
- reflex/components/lucide/icon.py +20 -27
- reflex/components/plotly/plotly.py +9 -9
- reflex/components/recharts/recharts.py +2 -2
- reflex/components/sonner/toast.py +1 -1
- reflex/config.py +23 -23
- reflex/constants/__init__.py +1 -2
- reflex/constants/base.py +3 -0
- reflex/constants/installer.py +8 -105
- reflex/custom_components/custom_components.py +8 -3
- reflex/reflex.py +22 -4
- reflex/state.py +9 -1
- reflex/testing.py +7 -1
- reflex/utils/build.py +3 -4
- reflex/utils/exec.py +156 -75
- reflex/utils/net.py +107 -18
- reflex/utils/path_ops.py +15 -25
- reflex/utils/prerequisites.py +225 -189
- reflex/utils/processes.py +70 -35
- reflex/utils/redir.py +3 -1
- reflex/utils/registry.py +16 -8
- reflex/vars/base.py +2 -38
- reflex/vars/datetime.py +10 -34
- reflex/vars/number.py +16 -112
- reflex/vars/sequence.py +99 -108
- {reflex-0.7.3a1.dist-info → reflex-0.7.4.dist-info}/METADATA +32 -23
- {reflex-0.7.3a1.dist-info → reflex-0.7.4.dist-info}/RECORD +58 -68
- {reflex-0.7.3a1.dist-info → reflex-0.7.4.dist-info}/WHEEL +1 -1
- {reflex-0.7.3a1.dist-info → reflex-0.7.4.dist-info}/entry_points.txt +0 -3
- benchmarks/__init__.py +0 -3
- benchmarks/benchmark_compile_times.py +0 -147
- benchmarks/benchmark_imports.py +0 -128
- benchmarks/benchmark_lighthouse.py +0 -75
- benchmarks/benchmark_package_size.py +0 -135
- benchmarks/benchmark_web_size.py +0 -106
- benchmarks/conftest.py +0 -20
- benchmarks/lighthouse.sh +0 -77
- benchmarks/utils.py +0 -74
- reflex/app_module_for_backend.py +0 -33
- {reflex-0.7.3a1.dist-info → reflex-0.7.4.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
"""Checks the size of a specific directory and uploads result to Posthog."""
|
|
2
|
-
|
|
3
|
-
import argparse
|
|
4
|
-
import os
|
|
5
|
-
from pathlib import Path
|
|
6
|
-
|
|
7
|
-
from utils import get_directory_size, get_python_version, send_data_to_posthog
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
def get_package_size(venv_path: Path, os_name):
|
|
11
|
-
"""Get the size of a specified package.
|
|
12
|
-
|
|
13
|
-
Args:
|
|
14
|
-
venv_path: The path to the venv.
|
|
15
|
-
os_name: Name of os.
|
|
16
|
-
|
|
17
|
-
Returns:
|
|
18
|
-
The total size of the package in bytes.
|
|
19
|
-
|
|
20
|
-
Raises:
|
|
21
|
-
ValueError: when venv does not exist or python version is None.
|
|
22
|
-
"""
|
|
23
|
-
python_version = get_python_version(venv_path, os_name)
|
|
24
|
-
print("Python version:", python_version)
|
|
25
|
-
if python_version is None:
|
|
26
|
-
raise ValueError("Error: Failed to determine Python version.")
|
|
27
|
-
|
|
28
|
-
is_windows = "windows" in os_name
|
|
29
|
-
|
|
30
|
-
package_dir: Path = (
|
|
31
|
-
venv_path / "lib" / f"python{python_version}" / "site-packages"
|
|
32
|
-
if not is_windows
|
|
33
|
-
else venv_path / "Lib" / "site-packages"
|
|
34
|
-
)
|
|
35
|
-
if not package_dir.exists():
|
|
36
|
-
raise ValueError(
|
|
37
|
-
"Error: Virtual environment does not exist or is not activated."
|
|
38
|
-
)
|
|
39
|
-
|
|
40
|
-
total_size = get_directory_size(package_dir)
|
|
41
|
-
return total_size
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
def insert_benchmarking_data(
|
|
45
|
-
os_type_version: str,
|
|
46
|
-
python_version: str,
|
|
47
|
-
commit_sha: str,
|
|
48
|
-
pr_title: str,
|
|
49
|
-
branch_name: str,
|
|
50
|
-
pr_id: str,
|
|
51
|
-
path: str,
|
|
52
|
-
):
|
|
53
|
-
"""Insert the benchmarking data into PostHog.
|
|
54
|
-
|
|
55
|
-
Args:
|
|
56
|
-
os_type_version: The OS type and version to insert.
|
|
57
|
-
python_version: The Python version to insert.
|
|
58
|
-
commit_sha: The commit SHA to insert.
|
|
59
|
-
pr_title: The PR title to insert.
|
|
60
|
-
branch_name: The name of the branch.
|
|
61
|
-
pr_id: The id of the PR.
|
|
62
|
-
path: The path to the dir or file to check size.
|
|
63
|
-
"""
|
|
64
|
-
if "./dist" in path:
|
|
65
|
-
size = get_directory_size(Path(path))
|
|
66
|
-
else:
|
|
67
|
-
size = get_package_size(Path(path), os_type_version)
|
|
68
|
-
|
|
69
|
-
# Prepare the event data
|
|
70
|
-
properties = {
|
|
71
|
-
"path": path,
|
|
72
|
-
"os": os_type_version,
|
|
73
|
-
"python_version": python_version,
|
|
74
|
-
"distinct_id": commit_sha,
|
|
75
|
-
"pr_title": pr_title,
|
|
76
|
-
"branch_name": branch_name,
|
|
77
|
-
"pr_id": pr_id,
|
|
78
|
-
"size_mb": round(
|
|
79
|
-
size / (1024 * 1024), 3
|
|
80
|
-
), # save size in MB and round to 3 places
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
send_data_to_posthog("package_size", properties)
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
def main():
|
|
87
|
-
"""Runs the benchmarks and inserts the results."""
|
|
88
|
-
parser = argparse.ArgumentParser(description="Run benchmarks and process results.")
|
|
89
|
-
parser.add_argument(
|
|
90
|
-
"--os", help="The OS type and version to insert into the database."
|
|
91
|
-
)
|
|
92
|
-
parser.add_argument(
|
|
93
|
-
"--python-version", help="The Python version to insert into the database."
|
|
94
|
-
)
|
|
95
|
-
parser.add_argument(
|
|
96
|
-
"--commit-sha", help="The commit SHA to insert into the database."
|
|
97
|
-
)
|
|
98
|
-
parser.add_argument(
|
|
99
|
-
"--pr-title",
|
|
100
|
-
help="The PR title to insert into the database.",
|
|
101
|
-
)
|
|
102
|
-
parser.add_argument(
|
|
103
|
-
"--branch-name",
|
|
104
|
-
help="The current branch",
|
|
105
|
-
required=True,
|
|
106
|
-
)
|
|
107
|
-
parser.add_argument(
|
|
108
|
-
"--pr-id",
|
|
109
|
-
help="The pr id",
|
|
110
|
-
required=True,
|
|
111
|
-
)
|
|
112
|
-
parser.add_argument(
|
|
113
|
-
"--path",
|
|
114
|
-
help="The path to the vnenv.",
|
|
115
|
-
required=True,
|
|
116
|
-
)
|
|
117
|
-
args = parser.parse_args()
|
|
118
|
-
|
|
119
|
-
# Get the PR title from env or the args. For the PR merge or push event, there is no PR title, leaving it empty.
|
|
120
|
-
pr_title = args.pr_title or os.getenv("PR_TITLE", "")
|
|
121
|
-
|
|
122
|
-
# Insert the data into the database
|
|
123
|
-
insert_benchmarking_data(
|
|
124
|
-
os_type_version=args.os,
|
|
125
|
-
python_version=args.python_version,
|
|
126
|
-
commit_sha=args.commit_sha,
|
|
127
|
-
pr_title=pr_title,
|
|
128
|
-
branch_name=args.branch_name,
|
|
129
|
-
pr_id=args.pr_id,
|
|
130
|
-
path=args.path,
|
|
131
|
-
)
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
if __name__ == "__main__":
|
|
135
|
-
main()
|
benchmarks/benchmark_web_size.py
DELETED
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
"""Checks the size of a specific directory and uploads result to Posthog."""
|
|
2
|
-
|
|
3
|
-
import argparse
|
|
4
|
-
import os
|
|
5
|
-
from pathlib import Path
|
|
6
|
-
|
|
7
|
-
from utils import get_directory_size, send_data_to_posthog
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
def insert_benchmarking_data(
|
|
11
|
-
os_type_version: str,
|
|
12
|
-
python_version: str,
|
|
13
|
-
app_name: str,
|
|
14
|
-
commit_sha: str,
|
|
15
|
-
pr_title: str,
|
|
16
|
-
branch_name: str,
|
|
17
|
-
pr_id: str,
|
|
18
|
-
path: str,
|
|
19
|
-
):
|
|
20
|
-
"""Insert the benchmarking data into PostHog.
|
|
21
|
-
|
|
22
|
-
Args:
|
|
23
|
-
app_name: The name of the app being measured.
|
|
24
|
-
os_type_version: The OS type and version to insert.
|
|
25
|
-
python_version: The Python version to insert.
|
|
26
|
-
commit_sha: The commit SHA to insert.
|
|
27
|
-
pr_title: The PR title to insert.
|
|
28
|
-
branch_name: The name of the branch.
|
|
29
|
-
pr_id: The id of the PR.
|
|
30
|
-
path: The path to the dir or file to check size.
|
|
31
|
-
"""
|
|
32
|
-
size = get_directory_size(Path(path))
|
|
33
|
-
|
|
34
|
-
# Prepare the event data
|
|
35
|
-
properties = {
|
|
36
|
-
"app_name": app_name,
|
|
37
|
-
"os": os_type_version,
|
|
38
|
-
"python_version": python_version,
|
|
39
|
-
"distinct_id": commit_sha,
|
|
40
|
-
"pr_title": pr_title,
|
|
41
|
-
"branch_name": branch_name,
|
|
42
|
-
"pr_id": pr_id,
|
|
43
|
-
"size_mb": round(
|
|
44
|
-
size / (1024 * 1024), 3
|
|
45
|
-
), # save size in MB and round to 3 places
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
send_data_to_posthog("web-size", properties)
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
def main():
|
|
52
|
-
"""Runs the benchmarks and inserts the results."""
|
|
53
|
-
parser = argparse.ArgumentParser(description="Run benchmarks and process results.")
|
|
54
|
-
parser.add_argument(
|
|
55
|
-
"--os", help="The OS type and version to insert into the database."
|
|
56
|
-
)
|
|
57
|
-
parser.add_argument(
|
|
58
|
-
"--python-version", help="The Python version to insert into the database."
|
|
59
|
-
)
|
|
60
|
-
parser.add_argument(
|
|
61
|
-
"--commit-sha", help="The commit SHA to insert into the database."
|
|
62
|
-
)
|
|
63
|
-
parser.add_argument(
|
|
64
|
-
"--pr-title",
|
|
65
|
-
help="The PR title to insert into the database.",
|
|
66
|
-
)
|
|
67
|
-
parser.add_argument(
|
|
68
|
-
"--branch-name",
|
|
69
|
-
help="The current branch",
|
|
70
|
-
required=True,
|
|
71
|
-
)
|
|
72
|
-
parser.add_argument(
|
|
73
|
-
"--app-name",
|
|
74
|
-
help="The name of the app measured.",
|
|
75
|
-
required=True,
|
|
76
|
-
)
|
|
77
|
-
parser.add_argument(
|
|
78
|
-
"--pr-id",
|
|
79
|
-
help="The pr id",
|
|
80
|
-
required=True,
|
|
81
|
-
)
|
|
82
|
-
parser.add_argument(
|
|
83
|
-
"--path",
|
|
84
|
-
help="The current path to app to check.",
|
|
85
|
-
required=True,
|
|
86
|
-
)
|
|
87
|
-
args = parser.parse_args()
|
|
88
|
-
|
|
89
|
-
# Get the PR title from env or the args. For the PR merge or push event, there is no PR title, leaving it empty.
|
|
90
|
-
pr_title = args.pr_title or os.getenv("PR_TITLE", "")
|
|
91
|
-
|
|
92
|
-
# Insert the data into the database
|
|
93
|
-
insert_benchmarking_data(
|
|
94
|
-
app_name=args.app_name,
|
|
95
|
-
os_type_version=args.os,
|
|
96
|
-
python_version=args.python_version,
|
|
97
|
-
commit_sha=args.commit_sha,
|
|
98
|
-
pr_title=pr_title,
|
|
99
|
-
branch_name=args.branch_name,
|
|
100
|
-
pr_id=args.pr_id,
|
|
101
|
-
path=args.path,
|
|
102
|
-
)
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
if __name__ == "__main__":
|
|
106
|
-
main()
|
benchmarks/conftest.py
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"""Shared conftest for all benchmark tests."""
|
|
2
|
-
|
|
3
|
-
import pytest
|
|
4
|
-
|
|
5
|
-
from reflex.testing import AppHarness, AppHarnessProd
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
@pytest.fixture(
|
|
9
|
-
scope="session", params=[AppHarness, AppHarnessProd], ids=["dev", "prod"]
|
|
10
|
-
)
|
|
11
|
-
def app_harness_env(request):
|
|
12
|
-
"""Parametrize the AppHarness class to use for the test, either dev or prod.
|
|
13
|
-
|
|
14
|
-
Args:
|
|
15
|
-
request: The pytest fixture request object.
|
|
16
|
-
|
|
17
|
-
Returns:
|
|
18
|
-
The AppHarness class to use for the test.
|
|
19
|
-
"""
|
|
20
|
-
return request.param
|
benchmarks/lighthouse.sh
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
|
|
3
|
-
# Change directory to the first argument passed to the script
|
|
4
|
-
project_dir=$1
|
|
5
|
-
shift
|
|
6
|
-
pushd "$project_dir" || exit 1
|
|
7
|
-
echo "Changed directory to $project_dir"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
# So we get stdout / stderr from Python ASAP. Without this, delays can be very long (e.g. on Windows, Github Actions)
|
|
11
|
-
export PYTHONUNBUFFERED=1
|
|
12
|
-
|
|
13
|
-
env_mode=$1
|
|
14
|
-
shift
|
|
15
|
-
check_ports=${1:-3000 8000}
|
|
16
|
-
shift
|
|
17
|
-
|
|
18
|
-
# Start the server in the background
|
|
19
|
-
export TELEMETRY_ENABLED=false
|
|
20
|
-
reflex run --env "$env_mode" "$@" & pid=$!
|
|
21
|
-
|
|
22
|
-
# Within the context of this bash, $pid_in_bash is what we need to pass to "kill" on exit
|
|
23
|
-
# This is true on all platforms.
|
|
24
|
-
pid_in_bash=$pid
|
|
25
|
-
trap "kill -INT $pid_in_bash ||:" EXIT
|
|
26
|
-
|
|
27
|
-
echo "Started server with PID $pid"
|
|
28
|
-
|
|
29
|
-
# Assume we run from the root of the repo
|
|
30
|
-
popd
|
|
31
|
-
|
|
32
|
-
# In Windows, our Python script below needs to work with the WINPID
|
|
33
|
-
if [ -f /proc/$pid/winpid ]; then
|
|
34
|
-
pid=$(cat /proc/$pid/winpid)
|
|
35
|
-
echo "Windows detected, passing winpid $pid to port waiter"
|
|
36
|
-
fi
|
|
37
|
-
|
|
38
|
-
python scripts/wait_for_listening_port.py $check_ports --timeout=600 --server-pid "$pid"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
# Check if something is running on port 3000
|
|
42
|
-
if curl --output /dev/null --silent --head --fail "http://localhost:3000"; then
|
|
43
|
-
echo "URL exists: http://localhost:3000"
|
|
44
|
-
else
|
|
45
|
-
echo "URL does not exist: https://localhost:3000"
|
|
46
|
-
fi
|
|
47
|
-
|
|
48
|
-
mkdir -p ./tests/benchmarks/.lighthouseci
|
|
49
|
-
|
|
50
|
-
# Create a lighthouserc.js file
|
|
51
|
-
cat << EOF > lighthouserc.js
|
|
52
|
-
module.exports = {
|
|
53
|
-
ci: {
|
|
54
|
-
collect: {
|
|
55
|
-
isSinglePageApplication: true,
|
|
56
|
-
numberOfRuns: 1,
|
|
57
|
-
url: ['http://localhost:3000', "http://localhost:3000/docs/getting-started/introduction/", "http://localhost:3000/blog/2023-08-02-seed-annoucement/"]
|
|
58
|
-
},
|
|
59
|
-
upload: {
|
|
60
|
-
target: 'filesystem',
|
|
61
|
-
"outputDir": "./integration/benchmarks/.lighthouseci"
|
|
62
|
-
},
|
|
63
|
-
},
|
|
64
|
-
};
|
|
65
|
-
EOF
|
|
66
|
-
|
|
67
|
-
# Install and Run LHCI
|
|
68
|
-
npm install -g @lhci/cli
|
|
69
|
-
lhci autorun
|
|
70
|
-
|
|
71
|
-
# Check to see if the LHCI report is generated
|
|
72
|
-
if [ -d "./integration/benchmarks/.lighthouseci" ] && [ "$(ls -A ./integration/benchmarks/.lighthouseci)" ]; then
|
|
73
|
-
echo "LHCI report generated"
|
|
74
|
-
else
|
|
75
|
-
echo "LHCI report not generated"
|
|
76
|
-
exit 1 # Exits the script with a status of 1, which will cause the GitHub Action to stop
|
|
77
|
-
fi
|
benchmarks/utils.py
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
"""Utility functions for the benchmarks."""
|
|
2
|
-
|
|
3
|
-
import os
|
|
4
|
-
import subprocess
|
|
5
|
-
from pathlib import Path
|
|
6
|
-
|
|
7
|
-
import httpx
|
|
8
|
-
from httpx import HTTPError
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
def get_python_version(venv_path: Path, os_name):
|
|
12
|
-
"""Get the python version of python in a virtual env.
|
|
13
|
-
|
|
14
|
-
Args:
|
|
15
|
-
venv_path: Path to virtual environment.
|
|
16
|
-
os_name: Name of os.
|
|
17
|
-
|
|
18
|
-
Returns:
|
|
19
|
-
The python version.
|
|
20
|
-
"""
|
|
21
|
-
python_executable = (
|
|
22
|
-
venv_path / "bin" / "python"
|
|
23
|
-
if "windows" not in os_name
|
|
24
|
-
else venv_path / "Scripts" / "python.exe"
|
|
25
|
-
)
|
|
26
|
-
try:
|
|
27
|
-
output = subprocess.check_output(
|
|
28
|
-
[str(python_executable), "--version"], stderr=subprocess.STDOUT
|
|
29
|
-
)
|
|
30
|
-
python_version = output.decode("utf-8").strip().split()[1]
|
|
31
|
-
return ".".join(python_version.split(".")[:-1])
|
|
32
|
-
except subprocess.CalledProcessError:
|
|
33
|
-
return None
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
def get_directory_size(directory: Path):
|
|
37
|
-
"""Get the size of a directory in bytes.
|
|
38
|
-
|
|
39
|
-
Args:
|
|
40
|
-
directory: The directory to check.
|
|
41
|
-
|
|
42
|
-
Returns:
|
|
43
|
-
The size of the dir in bytes.
|
|
44
|
-
"""
|
|
45
|
-
total_size = 0
|
|
46
|
-
for dirpath, _, filenames in os.walk(directory):
|
|
47
|
-
for f in filenames:
|
|
48
|
-
fp = Path(dirpath) / f
|
|
49
|
-
total_size += fp.stat().st_size
|
|
50
|
-
return total_size
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
def send_data_to_posthog(event, properties):
|
|
54
|
-
"""Send data to PostHog.
|
|
55
|
-
|
|
56
|
-
Args:
|
|
57
|
-
event: The event to send.
|
|
58
|
-
properties: The properties to send.
|
|
59
|
-
|
|
60
|
-
Raises:
|
|
61
|
-
HTTPError: When there is an error sending data to PostHog.
|
|
62
|
-
"""
|
|
63
|
-
event_data = {
|
|
64
|
-
"api_key": "phc_JoMo0fOyi0GQAooY3UyO9k0hebGkMyFJrrCw1Gt5SGb",
|
|
65
|
-
"event": event,
|
|
66
|
-
"properties": properties,
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
with httpx.Client() as client:
|
|
70
|
-
response = client.post("https://app.posthog.com/capture/", json=event_data)
|
|
71
|
-
if response.status_code != 200:
|
|
72
|
-
raise HTTPError(
|
|
73
|
-
f"Error sending data to PostHog: {response.status_code} - {response.text}"
|
|
74
|
-
)
|
reflex/app_module_for_backend.py
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"""Shims the real reflex app module for running backend server (uvicorn or gunicorn).
|
|
2
|
-
Only the app attribute is explicitly exposed.
|
|
3
|
-
"""
|
|
4
|
-
|
|
5
|
-
from concurrent.futures import ThreadPoolExecutor
|
|
6
|
-
|
|
7
|
-
from reflex import constants
|
|
8
|
-
from reflex.utils.exec import is_prod_mode
|
|
9
|
-
from reflex.utils.prerequisites import get_and_validate_app
|
|
10
|
-
|
|
11
|
-
if constants.CompileVars.APP != "app":
|
|
12
|
-
raise AssertionError("unexpected variable name for 'app'")
|
|
13
|
-
|
|
14
|
-
app, app_module = get_and_validate_app(reload=False)
|
|
15
|
-
# For py3.9 compatibility when redis is used, we MUST add any decorator pages
|
|
16
|
-
# before compiling the app in a thread to avoid event loop error (REF-2172).
|
|
17
|
-
app._apply_decorated_pages()
|
|
18
|
-
compile_future = ThreadPoolExecutor(max_workers=1).submit(app._compile)
|
|
19
|
-
compile_future.add_done_callback(
|
|
20
|
-
# Force background compile errors to print eagerly
|
|
21
|
-
lambda f: f.result()
|
|
22
|
-
)
|
|
23
|
-
# Wait for the compile to finish in prod mode to ensure all optional endpoints are mounted.
|
|
24
|
-
if is_prod_mode():
|
|
25
|
-
compile_future.result()
|
|
26
|
-
|
|
27
|
-
# ensure only "app" is exposed.
|
|
28
|
-
del app_module
|
|
29
|
-
del compile_future
|
|
30
|
-
del get_and_validate_app
|
|
31
|
-
del is_prod_mode
|
|
32
|
-
del constants
|
|
33
|
-
del ThreadPoolExecutor
|
|
File without changes
|