To use in dev environments
- after
python manage.py shell
from django.contrib.auth.models import User
""" | |
This snippet may be used after installing the following libraries: | |
# (1) OpenDP library with DP-PCA | |
# - reference: https://test.pypi.org/project/opendp/0.9.0.dev20231221001/ | |
# | |
pip install -i https://test.pypi.org/simple/ opendp==0.9.0.dev20231221001 | |
# (2) scikit-learn (includes numpy) | |
# |
False
'managed': False
python manage.py test
, tell Django to set "managed" to True
True
during tests: <dependency>
<groupId>com.hubspot.jinjava</groupId>
<artifactId>jinjava</artifactId>
<version>2.2.0</version>
</dependency>
<div id="app"> | |
<nav class="navbar navbar-light fixed-top"> | |
<div class="navbar-text ml-auto d-flex"> | |
<button class="btn btn-sm btn-outline-success" | |
@click="sliderStatus = !sliderStatus"> | |
<i class="fas fa-dollar-sign"></i></button> | |
<div class="dropdown ml-2" v-if="cart.length>0"> | |
<button class="btn btn-success btn-sm dropdown-toggle" | |
id="cartDropdown" data-toggle="dropdown" | |
aria-haspopup="true" aria-expanded="false"> |
<div id="app"> | |
<nav class="navbar navbar-light fixed-top"> | |
<div class="navbar-text ml-auto d-flex"> | |
<button class="btn btn-sm btn-outline-success" | |
@click="sliderStatus = !sliderStatus"> | |
<i class="fas fa-dollar-sign"></i></button> | |
<div class="dropdown ml-2" v-if="cart.length>0"> | |
<button class="btn btn-success btn-sm dropdown-toggle" | |
id="cartDropdown" data-toggle="dropdown" | |
aria-haspopup="true" aria-expanded="false"> |
Code to get the D3M temp directory accessible by TA2/TA2
from os.path import join
from tworaven_apps.configurations.utils import \
(get_latest_d3m_config,)
d3m_config = get_latest_d3m_config()
if not d3m_config: