Skip to content

Commit

Permalink
Reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
renan-souza committed Dec 2, 2024
1 parent 58793a5 commit 554e75d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/flowcept/commons/flowcept_dataclasses/workflow_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
import msgpack
from omegaconf import OmegaConf

import flowcept
from flowcept import __version__

from flowcept.version import __version__
from flowcept.commons.utils import get_utc_now
from flowcept.configs import (
settings,
FLOWCEPT_USER,
Expand Down Expand Up @@ -71,7 +70,7 @@ def to_dict(self):

def enrich(self, adapter_key=None):
"""Enrich it."""
self.utc_timestamp = flowcept.commons.utils.get_utc_now()
self.utc_timestamp = get_utc_now()
self.flowcept_settings = OmegaConf.to_container(settings)

if adapter_key is not None:
Expand Down
1 change: 1 addition & 0 deletions src/flowcept/commons/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def perf_log(func_name, t0: float, logger=None):
return t1
return None


def get_status_from_str(status_str: str) -> Status:
"""Get the status."""
# TODO: complete this utility function
Expand Down

0 comments on commit 554e75d

Please sign in to comment.