Skip to content

Commit 370a96c

Browse files
committed
neptune yapf fix
1 parent 110bc8b commit 370a96c

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

livelossplot/outputs/neptune_logger.py

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,7 @@ class NeptuneLogger(BaseOutput):
77
"""See: https://github.com/neptune-ai/neptune-client
88
YOUR_API_TOKEN and USERNAME/PROJECT_NAME
99
"""
10-
11-
def __init__(
12-
self,
13-
api_token: Optional[str] = None,
14-
project_qualified_name: Optional[str] = None,
15-
**kwargs
16-
):
10+
def __init__(self, api_token: Optional[str] = None, project_qualified_name: Optional[str] = None, **kwargs):
1711
"""Set secrets and create experiment
1812
Args:
1913
api_token: your api token, you can create NEPTUNE_API_TOKEN environment variable instead
@@ -23,9 +17,7 @@ def __init__(
2317
import neptune
2418

2519
self.neptune = neptune
26-
self.run = self.neptune.init_run(
27-
api_token=api_token, project=project_qualified_name, **kwargs
28-
)
20+
self.run = self.neptune.init_run(api_token=api_token, project=project_qualified_name, **kwargs)
2921

3022
def close(self):
3123
"""Close connection"""

0 commit comments

Comments
 (0)