We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 15755f4 + ff675ab commit 32b7590Copy full SHA for 32b7590
src/psij/job_attributes.py
@@ -166,6 +166,7 @@ def project_name(self) -> Optional[str]:
166
167
@project_name.setter
168
def project_name(self, project_name: Optional[str]) -> None:
169
- logger.warning('The "project_name" attribute is deprecated. Please use the "account" '
170
- 'attribute instead.')
+ if project_name is not None:
+ logger.warning('The "project_name" attribute is deprecated. Please use the "account" '
171
+ 'attribute instead.')
172
self.account = project_name
0 commit comments