diffsync 2.2.1__tar.gz → 2.2.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: diffsync
3
- Version: 2.2.1
3
+ Version: 2.2.3
4
4
  Summary: Library to easily sync/diff/update 2 different data sources
5
5
  License: Apache-2.0
6
6
  Keywords: source-of-truth,synchronization
@@ -16,7 +16,6 @@ limitations under the License.
16
16
  """
17
17
 
18
18
  import sys
19
- from copy import deepcopy
20
19
  from inspect import isclass
21
20
  from typing import (
22
21
  Any,
@@ -482,19 +481,6 @@ class Adapter: # pylint: disable=too-many-public-methods
482
481
  if not isclass(value) or not issubclass(value, DiffSyncModel):
483
482
  raise AttributeError(f'top_level references attribute "{name}" but it is not a DiffSyncModel subclass!')
484
483
 
485
- def __new__(cls, **kwargs): # type: ignore[no-untyped-def]
486
- """Document keyword arguments that were used to initialize Adapter."""
487
- meta_kwargs = {}
488
- for key, value in kwargs.items():
489
- try:
490
- meta_kwargs[key] = deepcopy(value)
491
- except (TypeError, AttributeError):
492
- # Some objects (e.g. Kafka Consumer, DB connections) cannot be deep copied
493
- meta_kwargs[key] = value
494
- instance = super().__new__(cls)
495
- instance._meta_kwargs = meta_kwargs
496
- return instance
497
-
498
484
  def __str__(self) -> StrType:
499
485
  """String representation of an Adapter."""
500
486
  if self.type != self.name:
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "diffsync"
3
- version = "2.2.1"
3
+ version = "2.2.3"
4
4
  description = "Library to easily sync/diff/update 2 different data sources"
5
5
  authors = ["Network to Code, LLC <info@networktocode.com>"]
6
6
  license = "Apache-2.0"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes