Ensure all projects are up and running.
You first need to put some users in the database. You do this by running this test command from inside your panda directory:
lando yarn test:seed
This will out the users added to your screen.
import boto3 | |
from time import sleep | |
from sys import argv | |
def get_recovery_points(vault_name: str) -> list: | |
pagination = True | |
restore_points = [] | |
b = boto3.client('backup') |
FROM node:10-alpine as build | |
WORKDIR /usr/src/app | |
COPY package.json . | |
COPY yarn.lock . | |
COPY packages/shared ./packages/shared | |
COPY packages/api ./packages/api | |
RUN yarn install --pure-lockfile --non-interactive |
import mysql.connector | |
# from mysql.connector import Error | |
# pip3 install mysql-connector | |
# https://dev.mysql.com/doc/connector-python/en/connector-python-reference.html | |
class DB(): | |
def __init__(self, config): | |
self.connection = None | |
self.connection = mysql.connector.connect(**config) |
### Get all files stored in your Uploadcare project in CSV. | |
import pyuploadcare | |
import csv | |
from pyuploadcare import Uploadcare | |
uploadcare = Uploadcare(public_key='public', | |
secret_key='secret') |