code: def from_string(cls, table_id, default_project=None):
          
          from google.cloud.bigquery.dataset import DatasetReference
  
          (
              output_project_id,
              output_dataset_id,
              output_table_id,
          ) = _helpers._parse_3_part_id(
              table_id, default_project=default_project, property_name="table_id"
          )
  
          return cls(
              DatasetReference(output_project_id, output_dataset_id), output_table_id
          )
docs: Construct a table reference from table ID string.
  
          Args:
              table_id (str):
                  A table ID in standard SQL format. If ``default_project``
                  is not specified, this must included a project ID, dataset
                  ID, and table ID, each separated by ``.``.
              default_project (str):
                  Optional. The project ID to use when ``table_id`` does not
                  include a project ID.
  
          Returns:
              TableReference: Table reference parsed from ``table_id``.
  
          Examples:
              >>> TableReference.from_string('my-project.mydataset.mytable')
              TableRef...(DatasetRef...('my-project', 'mydataset'), 'mytable')
  
          Raises:
              ValueError:
                  If ``table_id`` is not a fully-qualified table ID in
                  standard SQL format.