Skip to content

Commit

Permalink
Rename tupledict.py to dicttuple.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kiendang committed Oct 21, 2023
1 parent 84d9257 commit 538be69
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/syft/src/syft/protocol/data_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
from ..service.response import SyftError
from ..service.response import SyftException
from ..service.response import SyftSuccess
from ..types.dicttuple import DictTuple
from ..types.syft_object import SyftBaseObject
from ..types.tupledict import DictTuple

PROTOCOL_STATE_FILENAME = "protocol_version.json"
PROTOCOL_TYPE = Union[str, int]
Expand Down
2 changes: 1 addition & 1 deletion packages/syft/src/syft/protocol/protocol_version.json
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@
"DatasetPageView": {
"1": {
"version": 1,
"hash": "1c7042b2980c9c91b6cb1bbdc99417b1b7bc88b1030223107d15a8e0f60183d6",
"hash": "6741bd16dc6089d9deea37b1bd4e895152d1a0c163b8bdfe45280b9bfc4a1354",
"action": "add"
}
},
Expand Down
4 changes: 2 additions & 2 deletions packages/syft/src/syft/serde/third_party.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
import zmq.green as zmq

# relative
from ..types.tupledict import DictTuple
from ..types.tupledict import _Meta as _DictTupleMetaClass
from ..types.dicttuple import DictTuple
from ..types.dicttuple import _Meta as _DictTupleMetaClass
from .deserialize import _deserialize as deserialize
from .recursive_primitives import _serialize_kv_pairs
from .recursive_primitives import deserialize_kv
Expand Down
2 changes: 1 addition & 1 deletion packages/syft/src/syft/service/dataset/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
from ...serde.serializable import serializable
from ...store.document_store import PartitionKey
from ...types.datetime import DateTime
from ...types.dicttuple import DictTuple
from ...types.syft_object import SYFT_OBJECT_VERSION_1
from ...types.syft_object import SyftObject
from ...types.transforms import TransformContext
from ...types.transforms import generate_id
from ...types.transforms import transform
from ...types.transforms import validate_url
from ...types.tupledict import DictTuple
from ...types.uid import UID
from ...util import options
from ...util.colors import ON_SURFACE_HIGHEST
Expand Down
2 changes: 1 addition & 1 deletion packages/syft/src/syft/service/dataset/dataset_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# relative
from ...serde.serializable import serializable
from ...store.document_store import DocumentStore
from ...types.tupledict import DictTuple
from ...types.dicttuple import DictTuple
from ...types.uid import UID
from ...util.telemetry import instrument
from ..action.action_permissions import ActionObjectPermission
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/syft/src/syft/types/syft_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
from ..node.credentials import SyftVerifyKey
from ..serde.recursive_primitives import recursive_serde_register_type
from ..serde.serialize import _serialize as serialize
from ..types.tupledict import DictTuple
from ..util.autoreload import autoreload_enabled
from ..util.markdown import as_markdown_python_code
from ..util.notebook_ui.notebook_addons import create_table_template
from ..util.util import aggressive_set_attr
from ..util.util import full_name_with_qualname
from ..util.util import get_qualname_for
from .dicttuple import DictTuple
from .syft_metaclass import Empty
from .syft_metaclass import PartialModelMetaclass
from .uid import UID
Expand Down
2 changes: 1 addition & 1 deletion packages/syft/tests/syft/types/dicttuple_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import pytest

# syft absolute
from syft.types.tupledict import DictTuple
from syft.types.dicttuple import DictTuple

# different ways to create a DictTuple
TEST_CASES = [
Expand Down

0 comments on commit 538be69

Please sign in to comment.