Commit 3b4153b 1 parent fc44e5b commit 3b4153b Copy full SHA for 3b4153b
File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -170,6 +170,8 @@ def __init__(
170
170
uri = os .fspath (uri ) if isinstance (uri , Path ) else uri
171
171
self ._uri = uri
172
172
self ._storage_options = storage_options
173
+ print ("init dataset" )
174
+ print (storage_options )
173
175
self ._ds = _Dataset (
174
176
uri ,
175
177
version ,
Original file line number Diff line number Diff line change @@ -928,13 +928,15 @@ async fn configure_store(
928
928
} )
929
929
}
930
930
"gs" => {
931
+ println ! ( "in object_store.rs" ) ;
931
932
storage_options. with_env_gcs ( ) ;
932
933
let mut builder = GoogleCloudStorageBuilder :: new ( ) . with_url ( url. as_ref ( ) ) ;
933
934
for ( key, value) in storage_options. as_gcs_options ( ) {
934
935
builder = builder. with_config ( key, value) ;
935
936
}
936
937
let token_key = "google_storage_token" ;
937
938
if let Some ( storage_token) = storage_options. get ( token_key) {
939
+ println ! ( "isetting credential" ) ;
938
940
let credential = GcpCredential { bearer : storage_token. to_string ( ) } ;
939
941
let credential_provider =
940
942
Arc :: new ( StaticCredentialProvider :: new ( credential) ) as _ ;
You can’t perform that action at this time.
0 commit comments