mitosheet 0.2.32__py2.py3-none-any.whl → 0.2.50__py2.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.
- mitosheet/__init__.py +6 -0
- mitosheet/api/get_defined_df_names.py +1 -1
- mitosheet/enterprise/mito_config.py +4 -1
- mitosheet/labextension/package.json +2 -2
- mitosheet-0.2.32.data/data/share/jupyter/labextensions/mitosheet/static/339.eda8a5c78fd57012d536.js → mitosheet/labextension/static/339.53f78db5b4beeb902f70.js +1 -1
- mitosheet/labextension/static/{remoteEntry.6682c205d16d5b902427.js → remoteEntry.8d8431c3cef326a8e05b.js} +1 -1
- mitosheet/save_paths.py +10 -1
- mitosheet/user/create.py +20 -2
- mitosheet/user/location.py +1 -1
- mitosheet/user/utils.py +14 -1
- mitosheet/utils.py +1 -1
- {mitosheet-0.2.32.data → mitosheet-0.2.50.data}/data/share/jupyter/labextensions/mitosheet/package.json +2 -2
- mitosheet/labextension/static/339.eda8a5c78fd57012d536.js → mitosheet-0.2.50.data/data/share/jupyter/labextensions/mitosheet/static/339.53f78db5b4beeb902f70.js +1 -1
- mitosheet-0.2.32.data/data/share/jupyter/labextensions/mitosheet/static/remoteEntry.6682c205d16d5b902427.js → mitosheet-0.2.50.data/data/share/jupyter/labextensions/mitosheet/static/remoteEntry.8d8431c3cef326a8e05b.js +1 -1
- {mitosheet-0.2.32.dist-info → mitosheet-0.2.50.dist-info}/METADATA +6 -4
- {mitosheet-0.2.32.dist-info → mitosheet-0.2.50.dist-info}/RECORD +23 -23
- {mitosheet-0.2.32.data → mitosheet-0.2.50.data}/data/share/jupyter/labextensions/mitosheet/static/405.4dea6fd8e64e4dc9015a.js +0 -0
- {mitosheet-0.2.32.data → mitosheet-0.2.50.data}/data/share/jupyter/labextensions/mitosheet/static/509.9cd86a57778b85719494.js +0 -0
- {mitosheet-0.2.32.data → mitosheet-0.2.50.data}/data/share/jupyter/labextensions/mitosheet/static/style.js +0 -0
- {mitosheet-0.2.32.data → mitosheet-0.2.50.data}/data/share/jupyter/labextensions/mitosheet/static/third-party-licenses.json +0 -0
- {mitosheet-0.2.32.dist-info → mitosheet-0.2.50.dist-info}/LICENSE.txt +0 -0
- {mitosheet-0.2.32.dist-info → mitosheet-0.2.50.dist-info}/WHEEL +0 -0
- {mitosheet-0.2.32.dist-info → mitosheet-0.2.50.dist-info}/top_level.txt +0 -0
mitosheet/__init__.py
CHANGED
|
@@ -16,6 +16,12 @@ If running the mitosheet.sheet() call does not work, try restarting your Jupyter
|
|
|
16
16
|
If it still does not work, please email jake@sagacollab.com
|
|
17
17
|
"""
|
|
18
18
|
|
|
19
|
+
# Suppress Streamlit ScriptRunContext warnings that occur when mitosheet is imported
|
|
20
|
+
# outside of a proper Streamlit script execution context
|
|
21
|
+
import warnings
|
|
22
|
+
warnings.filterwarnings("ignore", message=r".*missing ScriptRunContext.*")
|
|
23
|
+
warnings.filterwarnings("ignore", message=r".*bare mode.*")
|
|
24
|
+
|
|
19
25
|
# Public interface we want users to rely on
|
|
20
26
|
from mitosheet.mito_backend import sheet
|
|
21
27
|
from mitosheet._version import __version__
|
|
@@ -12,7 +12,7 @@ import os
|
|
|
12
12
|
from mitosheet.enterprise.license_key import decode_license_to_date
|
|
13
13
|
from mitosheet.telemetry.telemetry_utils import log
|
|
14
14
|
from mitosheet.types import CodeSnippetEnvVars
|
|
15
|
-
from mitosheet.user.utils import is_enterprise
|
|
15
|
+
from mitosheet.user.utils import is_4c2a, is_enterprise
|
|
16
16
|
|
|
17
17
|
# Note: Do not change these keys, we need them for looking up
|
|
18
18
|
# the environment variables from previous mito_config_versions.
|
|
@@ -239,6 +239,9 @@ class MitoConfig:
|
|
|
239
239
|
if on_enterprise:
|
|
240
240
|
return False
|
|
241
241
|
|
|
242
|
+
if is_4c2a():
|
|
243
|
+
return False
|
|
244
|
+
|
|
242
245
|
return True
|
|
243
246
|
|
|
244
247
|
@property
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"outputDir": "mitosheet/labextension",
|
|
11
11
|
"extension": "lib/plugin",
|
|
12
12
|
"_build": {
|
|
13
|
-
"load": "static/remoteEntry.
|
|
13
|
+
"load": "static/remoteEntry.8d8431c3cef326a8e05b.js",
|
|
14
14
|
"extension": "./extension"
|
|
15
15
|
}
|
|
16
16
|
},
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"url": "https://github.com/mito-ds/monorepo",
|
|
28
28
|
"type": "git"
|
|
29
29
|
},
|
|
30
|
-
"version": "0.2.
|
|
30
|
+
"version": "0.2.50",
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@jupyterlab/application": "^4.0.0",
|
|
33
33
|
"@jupyterlab/notebook": "^4.2.4",
|