Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
Merge pull request #4620 from golemfactory/docker_cpu_env_refactor
Browse files Browse the repository at this point in the history
Refactor DockerCPU[Config, Runtime, Environment] for easier inheritance
  • Loading branch information
mfranciszkiewicz authored Aug 22, 2019
2 parents 18dd96d + e7f61ab commit 097fe27
Show file tree
Hide file tree
Showing 6 changed files with 171 additions and 153 deletions.
3 changes: 2 additions & 1 deletion golem/core/simpleserializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import types
from abc import ABC, abstractmethod
from enum import Enum
from typing import Any, Dict

from golem_messages import datastructures

Expand Down Expand Up @@ -175,6 +176,6 @@ def to_dict(self) -> dict:

@staticmethod
@abstractmethod
def from_dict(data: dict) -> 'DictSerializable':
def from_dict(data: Dict[str, Any]) -> 'DictSerializable':
""" Construct object from a dict containing only primitive types. """
raise NotImplementedError
Loading

0 comments on commit 097fe27

Please sign in to comment.