<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def table_spec_path(cls, project, location, dataset, table_spec):
 """Return a fully-qualified table_spec string."""

        return google.api_core.path_template.expand(
            "projects/{project}/locations/{location}/datasets/{dataset}/tableSpecs/{table_spec}",
            project=project,
            location=location,
            dataset=dataset,
            table_spec=table_spec,
        )