robertwb commented on code in PR #23558:
URL: https://github.com/apache/beam/pull/23558#discussion_r991680388


##########
sdks/python/apache_beam/io/gcp/bigquery.py:
##########
@@ -1410,7 +1410,7 @@ def __next__(self):
 
 
 @deprecated(since='2.11.0', current="WriteToBigQuery")
-class BigQuerySink(*args, **kwargs):
+def BigQuerySink(*args, **kwargs):

Review Comment:
   This way one can still do `io.Write(BigQuerySink(...))` even though the old 
class is gone. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to