File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
tensorflow_datasets/core/dataset_builders Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -291,12 +291,13 @@ def _is_gated(self) -> bool:
291
291
@property
292
292
def _gated_dataset_warning (self ) -> str :
293
293
"""The warning message for a gated dataset."""
294
- return (
295
- 'WARNING: This dataset is gated. Before using it, make sure to sign '
296
- f' the conditions at: { self .homepage } . Important: access requests are '
297
- ' always granted to individual users rather than to entire '
298
- ' organizations.'
294
+ gated_dataset_warning = (
295
+ 'WARNING: This dataset is gated. Before using it, make sure '
296
+ + f'to sign the conditions at: { self .homepage } . Important: access'
297
+ ' requests are always granted to individual users rather than to'
298
+ ' entire organizations.'
299
299
)
300
+ return gated_dataset_warning
300
301
301
302
@property
302
303
def _gated_text (self ) -> str | None :
You can’t perform that action at this time.
0 commit comments