dekshell 0.2.53__py3-none-any.whl → 0.2.55__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.
- dekshell/core/contexts/__init__.py +2 -2
- dekshell/core/markers/base/__init__.py +4 -5
- dekshell/core/markers/redirect.py +2 -2
- {dekshell-0.2.53.dist-info → dekshell-0.2.55.dist-info}/METADATA +1 -1
- {dekshell-0.2.53.dist-info → dekshell-0.2.55.dist-info}/RECORD +7 -7
- {dekshell-0.2.53.dist-info → dekshell-0.2.55.dist-info}/WHEEL +0 -0
- {dekshell-0.2.53.dist-info → dekshell-0.2.55.dist-info}/entry_points.txt +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import os
|
|
2
2
|
from dektools.dict import assign
|
|
3
|
-
from dektools.attr import
|
|
3
|
+
from dektools.attr import DeepObjectCall
|
|
4
4
|
from ..plugin import get_contexts_from_modules
|
|
5
5
|
from .methods import default_methods
|
|
6
6
|
from .properties import default_properties
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
def get_all_context(**kwargs):
|
|
10
|
-
return
|
|
10
|
+
return DeepObjectCall(assign(
|
|
11
11
|
default_methods,
|
|
12
12
|
default_properties,
|
|
13
13
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import re
|
|
2
2
|
import functools
|
|
3
3
|
from dektools.str import deep_format, split_table_line, shlex_split, shlex_quote
|
|
4
|
-
from dektools.common import
|
|
4
|
+
from dektools.common import cached_classproperty
|
|
5
5
|
from dektools.shell import shell_output, shell_wrapper, shell_exitcode
|
|
6
6
|
from dektools.escape import str_escape_custom
|
|
7
7
|
from ....utils.serializer import serializer
|
|
@@ -234,10 +234,9 @@ class MarkerBase:
|
|
|
234
234
|
else:
|
|
235
235
|
return evaluate(expression, default_value)
|
|
236
236
|
|
|
237
|
-
@
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
return {cls if x is None else x for x in cls.branch_set}
|
|
237
|
+
@cached_classproperty
|
|
238
|
+
def final_branch_set(self):
|
|
239
|
+
return {self if x is None else x for x in self.branch_set}
|
|
241
240
|
|
|
242
241
|
@staticmethod
|
|
243
242
|
def get_item(array, index, default=None):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import os
|
|
2
2
|
from dektools.shell import shell_wrapper
|
|
3
|
-
from dektools.attr import
|
|
3
|
+
from dektools.attr import DeepObjectCall
|
|
4
4
|
from ...core.redirect import redirect_shell_by_path_tree
|
|
5
5
|
from ...utils.cmd import key_args, key_kwargs
|
|
6
6
|
from ..contexts.properties import make_shell_properties, current_shell
|
|
@@ -48,4 +48,4 @@ class ShiftMarker(MarkerRedirect):
|
|
|
48
48
|
|
|
49
49
|
def execute_core(self, context, marker_node, marker_set, path_shell):
|
|
50
50
|
if path_shell:
|
|
51
|
-
context.update_variables(
|
|
51
|
+
context.update_variables(DeepObjectCall(make_shell_properties(path_shell)).__dict__)
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
dekshell-0.2.
|
|
2
|
-
dekshell-0.2.
|
|
3
|
-
dekshell-0.2.
|
|
1
|
+
dekshell-0.2.55.dist-info/METADATA,sha256=D0M4rNapFo_2Qki9huigS2b36kdgLaA14u0qtio3hoI,573
|
|
2
|
+
dekshell-0.2.55.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
|
|
3
|
+
dekshell-0.2.55.dist-info/entry_points.txt,sha256=d-kbfULiUTZWIBBsrQF3J_-wESncF-4K2rwHT08grlI,75
|
|
4
4
|
dekshell/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
dekshell/click/__entry__.py,sha256=CMuxUzXoEe4TcHFZwv-MNFwHnu1HSZCDpXFpqQ814uM,42
|
|
6
6
|
dekshell/click/__init__.py,sha256=r-AHdO9CEEVvTN20-8Jozr6Zh8XSv_BnktYRwrlhtrE,2046
|
|
7
7
|
dekshell/core/__init__.py,sha256=isDEKwk1odLdvTQNCILCtVNBuXp1uFVPz_uTDNihkVU,5547
|
|
8
|
-
dekshell/core/contexts/__init__.py,sha256=
|
|
8
|
+
dekshell/core/contexts/__init__.py,sha256=oBZhmXtSoOBgZPAHu6wiMCCW-yIdkC5mqSXqbvKYUy4,490
|
|
9
9
|
dekshell/core/contexts/methods.py,sha256=-z94TUMKM7a2Jr3GqtXJhLbMMQEWWM0ji33Gfoz3Euk,12284
|
|
10
10
|
dekshell/core/contexts/properties.py,sha256=TQonN3T_K2cB2uakq_DVVB13B-IFwoM6t2ZkL_OMekw,3365
|
|
11
11
|
dekshell/core/markers/__init__.py,sha256=1oq4wlBOJV56hsshPe0ZZZMvoItCV2Xs2RN08HTrbiY,2255
|
|
12
|
-
dekshell/core/markers/base/__init__.py,sha256=
|
|
12
|
+
dekshell/core/markers/base/__init__.py,sha256=CHD9vb8yGjnALimCwZJ2refbPB7zAE4FgQKLoRwzLrE,18037
|
|
13
13
|
dekshell/core/markers/base/core.py,sha256=5TYAg7JWX58669RBUOMgJxCUMuOARPDL7GENNtNAYls,12558
|
|
14
14
|
dekshell/core/markers/base/shell.py,sha256=fiFsTUDI8pSDDUCk834OI4ajri2qNWFJkLVhmUk2uAs,484
|
|
15
15
|
dekshell/core/markers/commands.py,sha256=mDRj4dSfKbDaZ_ts4lPXd6wftvGFI4VKkRoIzxV7otA,1696
|
|
@@ -25,7 +25,7 @@ dekshell/core/markers/if_.py,sha256=UqEnR0X9bKO7hEKol3MJNWXvP7fuJAGt8zwk3xlBCuk,
|
|
|
25
25
|
dekshell/core/markers/input.py,sha256=94SWaeLnwtxRdIn9Ck0IxMZL6vOXVCedUmsp5IPAwWo,1188
|
|
26
26
|
dekshell/core/markers/invoke.py,sha256=ESL2DE9DTaq33AnrXpvEudp1qtoeZFKOhLL12OQpcs0,1975
|
|
27
27
|
dekshell/core/markers/pip_.py,sha256=mxXa_oqcrk4Qz-HvhlkMoirsl-SbM9Fz610leNqP1o0,832
|
|
28
|
-
dekshell/core/markers/redirect.py,sha256
|
|
28
|
+
dekshell/core/markers/redirect.py,sha256=-w_qhdaHa1hIi-LjCmXpaYKZWrTitAiSawjEf8qjYt4,1989
|
|
29
29
|
dekshell/core/markers/shell.py,sha256=43BDAAzMdmgZmemkW5buh_w4LL1GDGw-s9fNZo6vhag,1929
|
|
30
30
|
dekshell/core/markers/var.py,sha256=yA2T8dq4vbfyeaV1KOUt3YZp51WTC623NviMAJTOdOQ,8182
|
|
31
31
|
dekshell/core/markers/while_.py,sha256=Q0SaElyXSrxg-wS_rfCcxMsmw9jf-0SgN1ICn860T4A,1201
|
|
@@ -37,4 +37,4 @@ dekshell/utils/cmd.py,sha256=K9FbXgHcGFchHA58xI0_t4YK4yb8XkWbxsNoztYRx3Y,518
|
|
|
37
37
|
dekshell/utils/pkg.py,sha256=TgYqRqawoJfjkxt6UAHnp9ttmpjuHiWRFbqxADOS1VE,1337
|
|
38
38
|
dekshell/utils/serializer.py,sha256=aIdF2Wzo-qHmIshv46jn1XD0X66vQ1JFdU-g3ZFbH2w,386
|
|
39
39
|
dekshell/utils/shell.py,sha256=0NoA2-SOOMinbmZZipwzL-npBbzPOdWEfdPVYqq5G5g,92
|
|
40
|
-
dekshell-0.2.
|
|
40
|
+
dekshell-0.2.55.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|