Skip to content
Fernanda Scovino edited this page Aug 10, 2022 · 5 revisions

# conneect t
# kubectl port-forward svc/redis -n redis 6379:6379

from redis_pal import RedisPal
redis_client = RedisPal(host="localhost", port=6379)

dataset_id = "br_rj_riodejaneiro_veiculos"
table_id = "gps_sppo"
mode = "prod"

key = dataset_id + "." + table_id
if mode == "dev":
    key = f"{mode}.{key}"
# get key
redis_client.get(key)
Clone this wiki locally