Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1e60969

Browse filesBrowse files
committed
1 parent 3834a0c commit 1e60969
Copy full SHA for 1e60969

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎bigquery/google/cloud/bigquery/dataset.py

Copy file name to clipboardExpand all lines: bigquery/google/cloud/bigquery/dataset.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def __init__(self, name, client, access_grants=(), project=None):
115115
self._properties = {}
116116
# Let the @property do validation.
117117
self.access_grants = access_grants
118-
self._project = project
118+
self._project = project or client.project
119119

120120
@property
121121
def project(self):
@@ -124,7 +124,7 @@ def project(self):
124124
:rtype: str
125125
:returns: the project (derived from the client).
126126
"""
127-
return self._project or self._client.project
127+
return self._project
128128

129129
@property
130130
def path(self):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.