Kaggle / kagglehub

Python library to access Kaggle resources
Apache License 2.0
87 stars 17 forks source link

Implement Kaggle Cache Resolver #19

Closed rosbo closed 1 year ago

rosbo commented 1 year ago

If we detect we are inside a Kaggle notebook (via the KAGGLE_KERNEL_RUN_TYPE env variable), then we call the AttachDatasourceUsingJwtHandler.

Also, I added a DISABLE_KAGGLE_CACHE environment variable. If set to a truthy value, the KaggleCacheResolver will be skipped.

Next: Call AttachDatasourceUsingJwtHandler through the Data Proxy inside internet disabled sessions.

http://b/305947763