MCPcopy Create free account

hub / github.com/Kaggle/docker-python / functions

Functions349 in github.com/Kaggle/docker-python

↓ 10 callersMethod_test_client
(self, client_func, expected_path, expected_body, secret=None, success=True)
tests/test_user_secrets.py:45
↓ 10 callersFunctionget_integrations
()
patches/kaggle_gcp.py:14
↓ 9 callersFunctionmonkeypatch_client
(client_klass, kaggle_kernel_credentials)
patches/kaggle_gcp.py:206
↓ 8 callersFunctionis_user_secrets_token_set
()
patches/kaggle_gcp.py:129
↓ 7 callersMethod_test_integration
(self, client)
tests/test_bigquery.py:20
↓ 7 callersFunctioninit_translation_v3
()
patches/kaggle_gcp.py:268
↓ 6 callersMethodhas_cloudai
(self)
patches/kaggle_gcp.py:44
↓ 6 callersFunctioninit_natural_language
()
patches/kaggle_gcp.py:282
↓ 6 callersFunctioninit_translation_v2
()
patches/kaggle_gcp.py:255
↓ 6 callersFunctioninit_video_intelligence
()
patches/kaggle_gcp.py:313
↓ 6 callersFunctioninit_vision
()
patches/kaggle_gcp.py:332
↓ 5 callersFunctioninit_gcs
()
patches/kaggle_gcp.py:239
↓ 4 callersMethod__init__
(self)
patches/kaggle_gcp.py:29
↓ 4 callersMethod_test_client
(self, client_func, expected_path, expected_body, is_tpu=True, success=True, iap_token=False)
tests/test_datasets.py:44
↓ 4 callersFunctioncreate_test_server
(handler_class)
tests/test_kaggle_module_resolver.py:18
↓ 4 callersMethodget_gcloud_credential
Retrieves the Google Cloud SDK credential attached to the current kernel. Example usage: client = UserSecretsClient()
patches/kaggle_secrets.py:70
↓ 4 callersMethodget_gcs_path
(self, dataset_dir: str = None)
patches/kaggle_datasets.py:24
↓ 4 callersMethodget_secret
Retrieves a user secret value by its label. This returns the value of the secret with the given label, if it attached to the current
patches/kaggle_secrets.py:50
↓ 4 callersFunctioninit_bigquery
()
patches/kaggle_gcp.py:135
↓ 4 callersMethodmake_post_request
(self, data: dict, endpoint: str, timeout: int = TIMEOUT_SECS)
patches/kaggle_web_client.py:40
↓ 3 callersMethod_get_access_token
(self, target: GcpTarget)
patches/kaggle_secrets.py:139
↓ 3 callersMethod_test_proxy
(self, client)
tests/test_bigquery_proxy.py:20
↓ 3 callersMethodget_bigquery_access_token
Retrieves BigQuery access token information from the UserSecrets service. This returns the token for the current kernel as well as its expiry
patches/kaggle_secrets.py:114
↓ 3 callersFunctionhas_been_monkeypatched
(method)
patches/kaggle_gcp.py:126
↓ 2 callersMethod_get_cloudai_access_token
(self)
patches/kaggle_secrets.py:136
↓ 2 callersMethod_get_gcs_access_token
(self)
patches/kaggle_secrets.py:133
↓ 2 callersFunction_make_credentials
()
tests/test_translation.py:11
↓ 2 callersMethod_test_client
(self, client_func, expected_path, expected_body, source=None, success=True)
tests/test_user_session.py:36
↓ 2 callersMethod_write_credentials_file
(self, credentials)
patches/kaggle_secrets.py:125
↓ 2 callersFunctioncreate_test_kagglehub_server
()
tests/utils/kagglehub.py:49
↓ 2 callersMethodget_exportable_ipynb
Fetch the .ipynb source of the current notebook session. If Kaggle datasets are attached to the notebook, the source will inc
patches/kaggle_session.py:16
↓ 2 callersMethodhas_bigquery
(self)
patches/kaggle_gcp.py:38
↓ 2 callersFunctioninit_ucaip
()
patches/kaggle_gcp.py:297
↓ 2 callersFunctionisGPU
()
tests/common.py:14
↓ 2 callersMethodload_datasets
(self)
tests/test_lightgbm.py:64
↓ 2 callersFunctionset_kaggle_user_agent
(client_info: ClientInfo)
patches/kaggle_gcp.py:231
↓ 1 callersMethod__init__
(self, batch_size=16)
tests/test_pytorch_lightning.py:13
↓ 1 callersMethod_is_called_from_kaggle_gcp
(self)
patches/sitecustomize.py:29
↓ 1 callersFunction_is_kaggle_handle
(handle)
patches/kaggle_module_resolver.py:13
↓ 1 callersFunction_is_on_kaggle_notebook
()
patches/kaggle_module_resolver.py:10
↓ 1 callersFunction_make_credentials
()
tests/test_gcs.py:9
↓ 1 callersFunction_make_credentials
()
tests/test_vision.py:10
↓ 1 callersFunction_make_credentials
()
tests/test_ucaip.py:8
↓ 1 callersFunction_make_credentials
()
tests/test_video_intelligence.py:10
↓ 1 callersFunction_make_credentials
()
tests/test_natural_language.py:10
↓ 1 callersMethodadd_integration
(self, target)
patches/kaggle_gcp.py:32
↓ 1 callersMethodassertListAlmostEqual
(self, list1, list2, tol)
tests/test_transformers.py:9
↓ 1 callersFunctiongetAcceleratorName
()
tests/common.py:7
↓ 1 callersFunctionget_dependencies
(show_stdout)
tools/pip_list_versions.py:29
↓ 1 callersMethodget_response
(self)
tests/test_user_session.py:19
↓ 1 callersMethodget_response
(self)
tests/test_user_secrets.py:28
↓ 1 callersMethodget_response
(self)
tests/test_datasets.py:27
↓ 1 callersFunctionget_version
(show_stdout)
tools/pip_list_versions.py:22
↓ 1 callersMethodhas_gcs
(self)
patches/kaggle_gcp.py:41
↓ 1 callersMethodhas_integration
(self, target)
patches/kaggle_gcp.py:35
↓ 1 callersFunctioninit
()
patches/kaggle_gcp.py:347
↓ 1 callersFunctionis_proxy_token_set
()
patches/kaggle_gcp.py:132
↓ 1 callersFunctionmonkeypatch_aiplatform_init
(aiplatform_klass, kaggle_kernel_credentials)
patches/kaggle_gcp.py:193
↓ 1 callersFunctionmonkeypatch_bq
(bq_client, *args, **kwargs)
patches/kaggle_gcp.py:147
↓ 1 callersFunctionpip_show
(package_name, packages=[])
tools/pip_list_versions.py:7
↓ 1 callersMethodset_gcloud_credentials
Set user credentials attached to the current kernel and optionally the project & account name to the `gcloud` CLI. Example usage:
patches/kaggle_secrets.py:86
↓ 1 callersMethodset_request
(self)
tests/test_user_session.py:16
↓ 1 callersMethodset_request
(self)
tests/test_user_secrets.py:25
↓ 1 callersMethodset_request
(self)
tests/test_datasets.py:24
↓ 1 callersMethodset_tensorflow_credential
Sets the credential for use by Tensorflow
patches/kaggle_secrets.py:108
↓ 1 callersMethodtanh
(self, x)
tests/test_jax.py:14
Method__call__
(self, handle)
patches/kaggle_module_resolver.py:20
Method__call__
(self, x)
tests/test_flax.py:23
Method__init__
(self)
patches/kaggle_web_client.py:23
Method__init__
(self)
patches/kaggle_session.py:13
Method__init__
(self)
patches/sitecustomize.py:26
Method__init__
(self)
patches/sitecustomize.py:47
Method__init__
(self, target, service)
patches/kaggle_secrets.py:30
Method__init__
(self)
patches/kaggle_secrets.py:47
Method__init__
(self)
patches/kaggle_datasets.py:19
Method__init__
(self, target=GcpTarget.BIGQUERY)
patches/kaggle_gcp.py:54
Method__init__
(self, parentCredential=None, quota_project_id=None)
patches/kaggle_gcp.py:83
Method__init__
(self, client, **kwargs)
patches/kaggle_gcp.py:90
Method__init__
(self, *args, **kwargs)
patches/kaggle_gcp.py:115
Method__init__
(self, credentials=None, client_info=None, **kwargs)
tests/test_vision.py:16
Method__init__
(self, user_agent)
tests/test_vision.py:20
Method__init__
(self)
tests/test_pytorch_lightning.py:36
Method__init__
(self, credentials=None, client_info=None, client_options=None, **kwargs)
tests/test_translation.py:17
Method__init__
(self, user_agent)
tests/test_translation.py:22
Method__init__
(self, credentials=None, client_info=None, **kwargs)
tests/test_video_intelligence.py:16
Method__init__
(self, user_agent)
tests/test_video_intelligence.py:20
Method__init__
(self, credentials=None, client_info=None, **kwargs)
tests/test_natural_language.py:16
Method__init__
(self, user_agent)
tests/test_natural_language.py:20
Method_setup_mocks
(self, api_url_mock)
tests/test_bigquery.py:58
Function_tensorboard_magic
Line magic function. Makes an AJAX call to the Jupyter TensorBoard server extension and outputs an IFrame displaying the TensorBoard instance
patches/tensorboard/notebook.py:14
Methodapi_request
Wrap Connection.api_request in order to handle errors gracefully.
patches/kaggle_gcp.py:95
Functionblack_box_function
Function with unknown internals we wish to maximize. This is just serving as an example, for all intents and purposes think of the internals
tests/test_bayes_opt.py:25
Methodbuild_model
(hp)
tests/test_keras_tuner.py:11
Methodcall_get_access_token
()
tests/test_user_secrets.py:215
Methodcall_get_bigquery_access_token
()
tests/test_user_secrets.py:191
Methodcall_get_cloudai_access_token
()
tests/test_user_secrets.py:199
Methodcall_get_gcs_access_token
()
tests/test_user_secrets.py:195
Methodcall_get_gcs_path
()
tests/test_datasets.py:113
Methodcall_get_ipynb
()
tests/test_user_session.py:84
Methodcall_get_secret
()
tests/test_user_secrets.py:95
next →1–100 of 349, ranked by callers