Skip to content

Instantly share code, notes, and snippets.

View DelgadoPanadero's full-sized avatar

Ángel Delgado DelgadoPanadero

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#AWS_BUCKET_NAME=mlflow
#AWS_ACCESS_KEY_ID=minio
#AWS_SECRET_ACCESS_KEY=minio123
#MYSQL_DATABASE=mlflow
#MYSQL_USER=mysql
#MYSQL_PASSWORD=mysql123
#MYSQL_ROOT_PASSWORD=root
version: '3.7'
import inspect
import pandas as pd
class InputDataFrame(pd.DataFrame):
data_dtypes = {
'ID': 'int64',
'DESCRIPTION': 'object',
'COST': 'int64',
}
@DelgadoPanadero
DelgadoPanadero / fastapi_globals.py
Created August 24, 2022 17:54 — forked from ddanier/fastapi_globals.py
flask.g for FastAPI.
"""
This allows to use global variables inside the FastAPI application
using async mode.
# Usage
Just import `g` and then access (set/get) attributes of it:
```python
from your_project.globals import g
@DelgadoPanadero
DelgadoPanadero / .block
Last active March 8, 2017 18:28
Mapa Valencia Radar
license: mit
@DelgadoPanadero
DelgadoPanadero / .block
Last active March 8, 2017 18:15
Mapa Valencia
license: mit
license: mit
@DelgadoPanadero
DelgadoPanadero / .block
Last active March 6, 2017 16:50
Cajamar1
license: mit
@DelgadoPanadero
DelgadoPanadero / .block
Last active March 6, 2017 15:24
Cajamar
license: mit
@DelgadoPanadero
DelgadoPanadero / .block
Created February 20, 2017 16:29
Practica D3
license: mit
height: 0