auto: black run
This commit is contained in:
@@ -40,7 +40,7 @@ class AnalyzeResponse:
|
||||
self.improvement_absolute = 0
|
||||
self.improvement_relative = 0
|
||||
self.worker = ""
|
||||
|
||||
|
||||
@classmethod
|
||||
def from_data(cls, data):
|
||||
res = cls()
|
||||
@@ -82,13 +82,12 @@ def create_analyze_task(url: str, level: int, task_id: Optional[int] = None) ->
|
||||
|
||||
|
||||
def create_analyze_response(
|
||||
task: AnalyzeTask,
|
||||
initial_size: int,
|
||||
final_size: int,
|
||||
duration: float,
|
||||
worker: str = platform.node(),
|
||||
clone_duration: float = 0,
|
||||
|
||||
task: AnalyzeTask,
|
||||
initial_size: int,
|
||||
final_size: int,
|
||||
duration: float,
|
||||
worker: str,
|
||||
clone_duration: float = 0,
|
||||
) -> AnalyzeResponse:
|
||||
res = AnalyzeResponse()
|
||||
res.created_at = task.created_at
|
||||
|
||||
Reference in New Issue
Block a user