google-cloud-python
google-cloud-python copied to clipboard
show deprecation warning when `read_session` passed to `ReadRowsStream.rows`, `ReadRowsStream.to_arrow`, `ReadRowsStream.to_dataframe`
Follow-up to https://github.com/googleapis/python-bigquery-storage/pull/228, which quietly deprecates read_session.
I want to wait until google-cloud-bigquery doesn't rely on this behavior before we more loudly deprecate it.
Blocked by https://github.com/googleapis/python-bigquery/issues/742
Blocker was fixed in https://github.com/googleapis/python-bigquery/pull/748, so this is unblocked.
This issue was transferred from python-bigquery-storage to google-cloud-python as part of the work for https://github.com/googleapis/google-cloud-python/issues/10991.