@@ -375,7 +375,7 @@ def _anonymous_dataset(self):
375375 return self ._anon_dataset_manager .dataset
376376
377377 @property
378- def _bq_connection (self ) -> str :
378+ def bq_connection (self ) -> str :
379379 msg = bfe .format_message (
380380 f"""You are using the BigFrames session default connection: { self ._bq_connection } ,
381381 which can be different from the BigQuery project default connection.
@@ -384,10 +384,6 @@ def _bq_connection(self) -> str:
384384 warnings .warn (msg , category = FutureWarning )
385385 return self ._bq_connection
386386
387- @_bq_connection .setter
388- def _bq_connection (self , value ):
389- self ._bq_connection = value
390-
391387 def __hash__ (self ):
392388 # Stable hash needed to use in expression tree
393389 return hash (str (self ._session_id ))
@@ -2267,7 +2263,7 @@ def _create_bq_connection(
22672263 ) -> str :
22682264 """Create the connection with the session settings and try to attach iam role to the connection SA.
22692265 If any of project, location or connection isn't specified, use the session defaults. Returns fully-qualified connection name."""
2270- connection = self ._bq_connection if not connection else connection
2266+ connection = self .bq_connection if not connection else connection
22712267 connection = bigframes .clients .get_canonical_bq_connection_id (
22722268 connection_id = connection ,
22732269 default_project = self ._project ,
0 commit comments