GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add to_api_repr method to Model · Issue #324 · googleapis/python-bigquery

This repository was archived by the owner on Mar 6, 2026. It is now read-only.
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Add to_api_repr method to Model #324

Copy link
Copy link
Closed
#326
Closed
Add to_api_repr method to Model#324
#326
Copy link
Assignees
HemangChothani
Labels
api: bigqueryIssues related to the googleapis/python-bigquery API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Description

@romainr
romainr
opened on Oct 14, 2020
Issue body actions

Same as #299 but for models:

AttributeError: 'Model' object has no attribute 'to_api_repr'

Current workaround: using model._properties but object fields like featureColumns https://cloud.google.com/bigquery/docs/reference/rest/v2/models#Model will be missing.

Activity

  1. product-auto-label
    added
    api: bigqueryIssues related to the googleapis/python-bigquery API.
    on Oct 14, 2020
  2. HemangChothani
    added
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    on Oct 14, 2020
  3. HemangChothani
    self-assigned this
    on Oct 14, 2020
  4. romainr commented on Oct 14, 2020

    @romainr
    romainr
    on Oct 14, 2020
    Author
    More actions

    It might be two bugs actually:

    • missing to_api_repr
    • empty object fields like feature_columns that are part of Model https://cloud.google.com/bigquery/docs/reference/rest/v2/models#Model. list_model is supposed to return a list of Model https://cloud.google.com/bigquery/docs/reference/rest/v2/models/list

    [model.feature_columns for model in client.list_models(dataset=dataset)] is empty

  5. HemangChothani
    changed the title [-]feat: add to_api_repr method to Model[/-] [+]Add to_api_repr method to Model[/+] on Oct 14, 2020
  6. tswast
    closed this as completedin #326on Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @HemangChothani
    HemangChothani

Labels

api: bigqueryIssues related to the googleapis/python-bigquery API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.