extract ipe fetch from main

This commit is contained in:
Johan Le Baut 2022-03-14 21:58:52 +01:00
parent 5f5c08798a
commit ca58802500
5 changed files with 30 additions and 1 deletions

View file

@ -4,6 +4,6 @@ pkgs.mkShell {
buildInputs = [ pkgs.libspatialite ];
nativeBuildInputs = [ pkgs.sqlite pkgs.cargo pkgs.rustc pkgs.poetry ];
shellHook = ''
LD_LIBRARY_PATH=${pkgs.libspatialite}/lib:LD_LIBRARY_PATH
export LD_LIBRARY_PATH=${pkgs.libspatialite}/lib:$LD_LIBRARY_PATH
'';
}

3
webapp/.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
__pycache__
/config.ini
.vscode

View file

View file

@ -0,0 +1,8 @@
# const AXIONE_ETAT_DEPLOYE =
# "DEPLOYE"
# const AXIONE_ETAT_DEPLOIEMENT = "EN COURS DE DEPLOIEMENT"
# const AXIONE_ETAT_ABANDONNE = "ABANDONNE"
# const AXIONE_ETAT_CIBLE = "CIBLE"
# const AXIONE_ETAT_SIGNE = "SIGNE"
# const AXIONE_ETAT_RAD_DEPLOIEMENT = "RAD EN COURS DE DEPLOIEMENT"
# const AXIONE_ETAT_RACCORDABLE_DEMANDE = "RACCORDABLE DEMANDE"

View file

@ -0,0 +1,18 @@
from typing import TypedDict
class FAIEligibilityState(TypedDict):
FAI: str
isEligible: bool
ftthStatus: str
reasonNotEli :str
class Building(TypedDict):
x: str
y: str
idImm: str
numVoieImm: str
typeVoieImm: str
nomVoieImm: str
AquilenetEligStatus: FAIEligibilityState
AxioneEligStatus: FAIEligibilityState
othersEligStatus: FAIEligibilityState