logs-py 2.9.3__py3-none-any.whl → 2.9.4__py3-none-any.whl
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.
Potentially problematic release.
This version of logs-py might be problematic. Click here for more details.
- LOGS/Entity/EntityConnector.py +6 -4
- LOGS/LOGS.py +14 -26
- {logs_py-2.9.3.dist-info → logs_py-2.9.4.dist-info}/METADATA +1 -1
- {logs_py-2.9.3.dist-info → logs_py-2.9.4.dist-info}/RECORD +6 -6
- {logs_py-2.9.3.dist-info → logs_py-2.9.4.dist-info}/WHEEL +1 -1
- {logs_py-2.9.3.dist-info → logs_py-2.9.4.dist-info}/top_level.txt +0 -0
LOGS/Entity/EntityConnector.py
CHANGED
|
@@ -50,11 +50,13 @@ class EntityConnector(Generic[_T]):
|
|
|
50
50
|
return (
|
|
51
51
|
self._firstUrl
|
|
52
52
|
if self._firstUrl
|
|
53
|
-
else
|
|
54
|
-
|
|
53
|
+
else (
|
|
54
|
+
self._connection.getEndpointUrl(
|
|
55
|
+
endpoint=self._endpoint if self._endpoint else ""
|
|
56
|
+
)
|
|
57
|
+
if self._connection
|
|
58
|
+
else ""
|
|
55
59
|
)
|
|
56
|
-
if self._connection
|
|
57
|
-
else ""
|
|
58
60
|
)
|
|
59
61
|
|
|
60
62
|
@property
|
LOGS/LOGS.py
CHANGED
|
@@ -590,12 +590,10 @@ class LOGS:
|
|
|
590
590
|
self._connection.printServerStatus()
|
|
591
591
|
|
|
592
592
|
@overload
|
|
593
|
-
def restore(self, entities: Constants.ENTITIES):
|
|
594
|
-
...
|
|
593
|
+
def restore(self, entities: Constants.ENTITIES): ...
|
|
595
594
|
|
|
596
595
|
@overload
|
|
597
|
-
def restore(self, entities: List[Constants.ENTITIES]):
|
|
598
|
-
...
|
|
596
|
+
def restore(self, entities: List[Constants.ENTITIES]): ...
|
|
599
597
|
|
|
600
598
|
# Implementation of overload
|
|
601
599
|
def restore(self, entities: Any):
|
|
@@ -617,12 +615,10 @@ class LOGS:
|
|
|
617
615
|
return decorator(entities)
|
|
618
616
|
|
|
619
617
|
@overload
|
|
620
|
-
def update(self, entities: Constants.ENTITIES):
|
|
621
|
-
...
|
|
618
|
+
def update(self, entities: Constants.ENTITIES): ...
|
|
622
619
|
|
|
623
620
|
@overload
|
|
624
|
-
def update(self, entities: List[Constants.ENTITIES]):
|
|
625
|
-
...
|
|
621
|
+
def update(self, entities: List[Constants.ENTITIES]): ...
|
|
626
622
|
|
|
627
623
|
# Implementation of overload
|
|
628
624
|
def update(self, entities: Any):
|
|
@@ -644,12 +640,10 @@ class LOGS:
|
|
|
644
640
|
return decorator(entities)
|
|
645
641
|
|
|
646
642
|
@overload
|
|
647
|
-
def create(self, entities: _T):
|
|
648
|
-
...
|
|
643
|
+
def create(self, entities: _T): ...
|
|
649
644
|
|
|
650
645
|
@overload
|
|
651
|
-
def create(self, entities: List[_T]):
|
|
652
|
-
...
|
|
646
|
+
def create(self, entities: List[_T]): ...
|
|
653
647
|
|
|
654
648
|
# Implementation of overload
|
|
655
649
|
def create(self, entities: Any):
|
|
@@ -671,12 +665,10 @@ class LOGS:
|
|
|
671
665
|
decorator(entities)
|
|
672
666
|
|
|
673
667
|
@overload
|
|
674
|
-
def delete(self, entities: Constants.ENTITIES, permanently=False):
|
|
675
|
-
...
|
|
668
|
+
def delete(self, entities: Constants.ENTITIES, permanently=False): ...
|
|
676
669
|
|
|
677
670
|
@overload
|
|
678
|
-
def delete(self, entities: List[Constants.ENTITIES], permanently=False):
|
|
679
|
-
...
|
|
671
|
+
def delete(self, entities: List[Constants.ENTITIES], permanently=False): ...
|
|
680
672
|
|
|
681
673
|
# Implementation of overload
|
|
682
674
|
def delete(self, entities: Any = None, permanently=False):
|
|
@@ -718,14 +710,12 @@ class LOGS:
|
|
|
718
710
|
@overload
|
|
719
711
|
def deleteById(
|
|
720
712
|
self, entityType: Type[Constants.ENTITIES], ids: int, permanently: bool = False
|
|
721
|
-
):
|
|
722
|
-
...
|
|
713
|
+
): ...
|
|
723
714
|
|
|
724
715
|
@overload
|
|
725
716
|
def deleteById(
|
|
726
717
|
self, entityType: Type[Constants.ENTITIES], ids: str, permanently: bool = False
|
|
727
|
-
):
|
|
728
|
-
...
|
|
718
|
+
): ...
|
|
729
719
|
|
|
730
720
|
@overload
|
|
731
721
|
def deleteById(
|
|
@@ -733,8 +723,7 @@ class LOGS:
|
|
|
733
723
|
entityType: Type[Constants.ENTITIES],
|
|
734
724
|
ids: List[int],
|
|
735
725
|
permanently: bool = False,
|
|
736
|
-
):
|
|
737
|
-
...
|
|
726
|
+
): ...
|
|
738
727
|
|
|
739
728
|
@overload
|
|
740
729
|
def deleteById(
|
|
@@ -742,8 +731,7 @@ class LOGS:
|
|
|
742
731
|
entityType: Type[Constants.ENTITIES],
|
|
743
732
|
ids: List[str],
|
|
744
733
|
permanently: bool = False,
|
|
745
|
-
):
|
|
746
|
-
...
|
|
734
|
+
): ...
|
|
747
735
|
|
|
748
736
|
# Implementation of overload
|
|
749
737
|
def deleteById(self, entityType=None, ids: Any = None, permanently: bool = False):
|
|
@@ -1137,8 +1125,8 @@ class LOGS:
|
|
|
1137
1125
|
return self._currentUser
|
|
1138
1126
|
|
|
1139
1127
|
@property
|
|
1140
|
-
def version(self) -> str:
|
|
1141
|
-
return self._connection.version
|
|
1128
|
+
def version(self) -> Optional[str]:
|
|
1129
|
+
return self._connection.metadata.version
|
|
1142
1130
|
|
|
1143
1131
|
|
|
1144
1132
|
if __name__ == "__main__":
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
LOGS/LOGS.py,sha256=
|
|
1
|
+
LOGS/LOGS.py,sha256=uheivjisinJRIncm05wA9ZSh5K_X7HbWNyns9b_smek,41681
|
|
2
2
|
LOGS/LOGSConnection.py,sha256=GOkmFj7CtCinn9SmRkzzdToaZqnmUaiqwuMI0mQGvCo,19845
|
|
3
3
|
LOGS/ServerMetaData.py,sha256=WdXCCiCSFqER6s9c3N3v0O273OvxygxBzmE6_C8FmXs,3361
|
|
4
4
|
LOGS/__init__.py,sha256=faGD87i0eeKbqEq6DTcteF6KoNa2O0BH1RnjxEvuGbQ,253
|
|
@@ -148,7 +148,7 @@ LOGS/Entities/TrackXYData.py,sha256=6AbwG2qa2HN858ROLaLpzkuIlwsb8tN8wznaiKplRdo,
|
|
|
148
148
|
LOGS/Entities/__init__.py,sha256=H2E_6M3VRrGPqPcJ3UuQIjeNyNPYuSIISwfaROei9uA,3237
|
|
149
149
|
LOGS/Entity/ConnectedEntity.py,sha256=RIaOcOJWCrWooc9H8CkN4tbrLD0q4pM4CAeBX3ZRIVg,1617
|
|
150
150
|
LOGS/Entity/Entity.py,sha256=uF7lCp-4HwUJ90ocRX_GCPu9KAZg2VAF5bCMlVfDtDs,6605
|
|
151
|
-
LOGS/Entity/EntityConnector.py,sha256=
|
|
151
|
+
LOGS/Entity/EntityConnector.py,sha256=kjCoieYABujwX1hIaldJVHmg_Js2OdWdbkvNwgBLeNo,2109
|
|
152
152
|
LOGS/Entity/EntityIterator.py,sha256=3gUZx28451sxsHrUT0qYlPRmi03U8rVAcJs0KHXmrEs,7721
|
|
153
153
|
LOGS/Entity/EntityMinimal.py,sha256=GysThwk8YbT8xqbHvJqmYKgPf8ckALO5pG-J_SNT0vw,3237
|
|
154
154
|
LOGS/Entity/EntityMinimalWithIntId.py,sha256=6eVhFFbXKdH3LPj-fAzQLpnzbkWqh1AmV_uRksTi7Ho,1045
|
|
@@ -177,7 +177,7 @@ LOGS/Interfaces/ISoftDeletable.py,sha256=urnmSfcYJrEm1iIo0k3nyBvMMnpomJWAYAON_uv
|
|
|
177
177
|
LOGS/Interfaces/ITypedEntity.py,sha256=hMlzGuca8vW1qT5Dop-b-6_gteAeXjK0sz85eRjOZrY,724
|
|
178
178
|
LOGS/Interfaces/IUniqueEntity.py,sha256=K-Q80qZX1wTjPnjbs-1PF85BbzYre2su_2xMnescYi4,1894
|
|
179
179
|
LOGS/Interfaces/__init__.py,sha256=tGykqoQeT2_HV-oLYVKJJ9Z0a_Li8_y3AOJjG1btKYw,172
|
|
180
|
-
logs_py-2.9.
|
|
181
|
-
logs_py-2.9.
|
|
182
|
-
logs_py-2.9.
|
|
183
|
-
logs_py-2.9.
|
|
180
|
+
logs_py-2.9.4.dist-info/METADATA,sha256=amQqQEAyK5O45DBuwDuiHfJo0kTTdGz2tr3lnuuEobA,2053
|
|
181
|
+
logs_py-2.9.4.dist-info/WHEEL,sha256=cpQTJ5IWu9CdaPViMhC9YzF8gZuS5-vlfoFihTBC86A,91
|
|
182
|
+
logs_py-2.9.4.dist-info/top_level.txt,sha256=Ckn2LiAmGaR7k3tdEnKAc04z_uboMD4gLreYghRNdCs,5
|
|
183
|
+
logs_py-2.9.4.dist-info/RECORD,,
|
|
File without changes
|