Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente | |||
| eadl:bloc5:fm3:td1 [2026/09/17 00:40] – [3. Architecture utilisée] jcheron | eadl:bloc5:fm3:td1 [2026/09/17 14:29] (Version actuelle) – jcheron | ||
|---|---|---|---|
| Ligne 313: | Ligne 313: | ||
| " | " | ||
| ]) | ]) | ||
| - | date_depart = date(2026, 1, 1) | + | |
| - | for i in range(args.lignes): | + | |
| - | jour = date_depart + timedelta(days=random.randint(0, | + | jour = date_depart + timedelta(days=random.randint(0, |
| - | commande_id = f" | + | commande_id = f" |
| - | client_id = f" | + | client_id = f" |
| - | categorie = random.choice(categories) | + | categorie = random.choice(categories) |
| - | ville = random.choice(villes) | + | ville = random.choice(villes) |
| - | montant = round(random.uniform(5, | + | montant = round(random.uniform(5, |
| - | | + | |
| - | jour, | + | jour, |
| - | commande_id, | + | commande_id, |
| - | client_id, | + | client_id, |
| - | categorie, | + | categorie, |
| - | ville, | + | ville, |
| - | montant | + | montant |
| - | ]) | + | ]) |
| </ | </ | ||