Skip to content

Commit 058199e

Browse files
authored
Merge pull request #1299 from joereg4/regional-evolution-metadata
Add regional evolution metadata support
2 parents 2bdcd60 + cd15595 commit 058199e

File tree

9 files changed

+608
-510
lines changed

9 files changed

+608
-510
lines changed

.github/workflows/docker-k8s.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,4 @@ jobs:
111111
- name: Assert containers running
112112
run: |
113113
last_command=$(docker ps | grep 'pokeapi-' | wc -l)
114-
test "$last_command" -eq 5
114+
test "$last_command" -eq 5

Resources/k8s/kustomize/base/jobs/load-graphql.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
done;
1919
containers:
2020
- name: load-graphql
21-
image: debian:buster
21+
image: debian:bullseye
2222
env:
2323
- name: HASURA_GRAPHQL_ADMIN_SECRET
2424
valueFrom:

data/v2/build.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2073,6 +2073,8 @@ def csv_record_to_objects(info):
20732073
trade_species_id=int(info[17]) if info[17] != "" else None,
20742074
needs_overworld_rain=bool(int(info[18])),
20752075
turn_upside_down=bool(int(info[19])),
2076+
region_id=int(info[20]) if info[20] != "" else None,
2077+
base_form_id=int(info[21]) if info[21] != "" else None,
20762078
)
20772079

20782080
build_generic((PokemonEvolution,), "pokemon_evolution.csv", csv_record_to_objects)

0 commit comments

Comments
 (0)