def remove_policy_tags(schema):
    """Manually create the schema objects, removing policyTags.

    Workaround for 403 error with policy tags, which are not required in a load
    job: https://github.com/googleapis/python-bigquery/pull/557
    """
    # Returns a copy rather than modifying the mutable arg,
    # per Issue #277
    result = copy.deepcopy(schema)
    for field in result["fields"]:
        if "policyTags" in field:
            del field["policyTags"]
    return result
Manually create the schema objects, removing policyTags.

    Workaround for 403 error with policy tags, which are not required in a load
    job: https://github.com/googleapis/python-bigquery/pull/557
    
pandas_gbq/schema/__init__.py