diff --git a/google/colab/_serverextension/_ram_utils.py b/google/colab/_serverextension/_ram_utils.py index 764deb7e..2f080d41 100644 --- a/google/colab/_serverextension/_ram_utils.py +++ b/google/colab/_serverextension/_ram_utils.py @@ -30,7 +30,7 @@ def get_per_kernel_ram_usage(kernel_manager) -> dict[str, int]: """ def get_pid(kernel): - # TODO: b/264409633 - Eliminate this function after migration to + # TODO: Eliminate this function after migration to # jupyter-client 7.x is complete. try: pid = kernel.provisioner.pid diff --git a/google/colab/_shell.py b/google/colab/_shell.py index 05f2a65e..2ba59029 100644 --- a/google/colab/_shell.py +++ b/google/colab/_shell.py @@ -68,7 +68,7 @@ def init_history(self): self.configurables.append(self.history_manager) def _should_use_native_system_methods(self): - # TODO: b/277214888 - Update to match intended values, as appropriate. + # TODO: Update to match intended values, as appropriate. return bool(os.getenv('USE_NATIVE_IPYTHON_SYSTEM_COMMANDS')) def getoutput(self, *args, **kwargs): diff --git a/google/colab/auth.py b/google/colab/auth.py index 4e307ded..fbe96a02 100644 --- a/google/colab/auth.py +++ b/google/colab/auth.py @@ -117,7 +117,7 @@ def _check_adc(credential_type=_CredentialType.NO_CHECK): from google.oauth2.service_account import Credentials as _ServiceAccountCredentials # pylint: disable=g-import-not-at-top if credential_type == _CredentialType.SERVICE_ACCOUNT: - # TODO We should call refresh() on service account credentials + # TODO: We should call refresh() on service account credentials # as well. return isinstance(creds, _ServiceAccountCredentials) try: diff --git a/google/colab/sql/bigquery.py b/google/colab/sql/bigquery.py index a96308e1..71032ed7 100644 --- a/google/colab/sql/bigquery.py +++ b/google/colab/sql/bigquery.py @@ -30,7 +30,7 @@ class TableReference(TypedDict): table_id: str -# TODO: b/421959485 - Use NotRequired once for optional fields. +# TODO: Use NotRequired once for optional fields. class TableSchemaEntry(TypedDict): """An item in the schema of a BigQuery table.""" diff --git a/google/colab/widgets/_interactive_table.py b/google/colab/widgets/_interactive_table.py index 61247606..bcccc9c8 100644 --- a/google/colab/widgets/_interactive_table.py +++ b/google/colab/widgets/_interactive_table.py @@ -63,7 +63,7 @@ def update_active_data(self): inplace=True, ) - # TODO: b/359279590 - not sure if I need to heal nan here. + # TODO: not sure if I need to heal nan here. # Convert DataFrame to a list of records (dicts) for JSON serialization self.active_data = self.data[start_row:end_row].to_dict(orient="records")