We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1652cb3 commit 80fa31eCopy full SHA for 80fa31e
commons/data_access_layer/cosmos_db.py
@@ -78,6 +78,11 @@ def __init__(self, data):
78
if k in names:
79
setattr(self, k, v)
80
81
+ def is_deleted(self):
82
+ if "deleted" in self.__dict__.keys():
83
+ return True if self.deleted else False
84
+ return False
85
+
86
87
def partition_key_attribute(pk: PartitionKey) -> str:
88
return pk.path.strip('/')
0 commit comments