bluer-objects 6.21.1__py3-none-any.whl → 6.23.1__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 bluer-objects might be problematic. Click here for more details.
- bluer_objects/.abcli/abcli.sh +1 -1
- bluer_objects/.abcli/actions.sh +1 -1
- bluer_objects/.abcli/alias.sh +3 -3
- bluer_objects/.abcli/ls.sh +1 -1
- bluer_objects/.abcli/metadata.sh +1 -1
- bluer_objects/.abcli/mlflow/browse.sh +1 -1
- bluer_objects/.abcli/mlflow/tags.sh +1 -1
- bluer_objects/.abcli/mlflow.sh +1 -1
- bluer_objects/.abcli/publish.sh +1 -1
- bluer_objects/.abcli/select.sh +1 -1
- bluer_objects/.abcli/storage/clear.sh +2 -2
- bluer_objects/.abcli/storage/download_file.sh +1 -1
- bluer_objects/.abcli/storage/exists.sh +1 -1
- bluer_objects/.abcli/storage/list.sh +1 -1
- bluer_objects/.abcli/storage/rm.sh +1 -1
- bluer_objects/.abcli/storage/status.sh +1 -1
- bluer_objects/.abcli/storage.sh +3 -3
- bluer_objects/.abcli/tests/help.sh +1 -1
- bluer_objects/.abcli/tests/ls.sh +4 -4
- bluer_objects/__init__.py +1 -1
- {bluer_objects-6.21.1.dist-info → bluer_objects-6.23.1.dist-info}/METADATA +2 -2
- {bluer_objects-6.21.1.dist-info → bluer_objects-6.23.1.dist-info}/RECORD +25 -28
- bluer_objects/.abcli/tests/mysql_cache.sh +0 -15
- bluer_objects/.abcli/tests/mysql_relations.sh +0 -20
- bluer_objects/.abcli/tests/mysql_tags.sh +0 -16
- {bluer_objects-6.21.1.dist-info → bluer_objects-6.23.1.dist-info}/WHEEL +0 -0
- {bluer_objects-6.21.1.dist-info → bluer_objects-6.23.1.dist-info}/licenses/LICENSE +0 -0
- {bluer_objects-6.21.1.dist-info → bluer_objects-6.23.1.dist-info}/top_level.txt +0 -0
bluer_objects/.abcli/abcli.sh
CHANGED
bluer_objects/.abcli/actions.sh
CHANGED
bluer_objects/.abcli/alias.sh
CHANGED
|
@@ -19,7 +19,7 @@ alias @file=bluer_objects_file
|
|
|
19
19
|
|
|
20
20
|
alias @host=abcli_host
|
|
21
21
|
|
|
22
|
-
alias @ls=
|
|
22
|
+
alias @ls=bluer_ai_ls
|
|
23
23
|
|
|
24
24
|
alias @metadata=abcli_metadata
|
|
25
25
|
|
|
@@ -29,8 +29,8 @@ alias @mysql=abcli_mysql
|
|
|
29
29
|
|
|
30
30
|
alias @objects=bluer_objects
|
|
31
31
|
|
|
32
|
-
alias @publish=
|
|
32
|
+
alias @publish=bluer_ai_publish
|
|
33
33
|
|
|
34
|
-
alias @select=
|
|
34
|
+
alias @select=bluer_ai_select
|
|
35
35
|
|
|
36
36
|
alias @upload=abcli_upload
|
bluer_objects/.abcli/ls.sh
CHANGED
bluer_objects/.abcli/metadata.sh
CHANGED
bluer_objects/.abcli/mlflow.sh
CHANGED
bluer_objects/.abcli/publish.sh
CHANGED
bluer_objects/.abcli/select.sh
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#! /usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
function
|
|
3
|
+
function bluer_ai_storage_clear() {
|
|
4
4
|
local options=$1
|
|
5
5
|
local do_dryrun=$(abcli_option_int "$options" dryrun 1)
|
|
6
6
|
|
|
@@ -17,7 +17,7 @@ function abcli_storage_clear() {
|
|
|
17
17
|
fi
|
|
18
18
|
|
|
19
19
|
local recent_projects=$(python3 -c "from bluer_objects import file; print('+'.join(file.load_yaml('$recent_filename')[1]))")
|
|
20
|
-
|
|
20
|
+
bluer_ai_log_list "$recent_projects" \
|
|
21
21
|
--delim + \
|
|
22
22
|
--after "object(s) to keep."
|
|
23
23
|
|
bluer_objects/.abcli/storage.sh
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#! /usr/bin/env bash
|
|
2
2
|
|
|
3
|
-
function
|
|
3
|
+
function bluer_ai_storage() {
|
|
4
4
|
local task=$1
|
|
5
5
|
|
|
6
|
-
local function_name=
|
|
6
|
+
local function_name=bluer_ai_storage_$task
|
|
7
7
|
if [[ $(type -t $function_name) == "function" ]]; then
|
|
8
8
|
$function_name "${@:2}"
|
|
9
9
|
return
|
|
@@ -12,4 +12,4 @@ function abcli_storage() {
|
|
|
12
12
|
python3 -m bluer_objects.storage "$@"
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
bluer_ai_source_caller_suffix_path /storage
|
bluer_objects/.abcli/tests/ls.sh
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#! /usr/bin/env bash
|
|
2
2
|
|
|
3
3
|
function test_bluer_objects_ls() {
|
|
4
|
-
|
|
4
|
+
bluer_ai_select
|
|
5
5
|
|
|
6
6
|
abcli_upload
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
bluer_ai_ls cloud
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
bluer_ai_ls local
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
bluer_ai_ls "$abcli_path_bash/tests/*.sh"
|
|
13
13
|
}
|
bluer_objects/__init__.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bluer_objects
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.23.1
|
|
4
4
|
Summary: 🌀 data objects for Bash.
|
|
5
5
|
Home-page: https://github.com/kamangir/bluer-objects
|
|
6
6
|
Author: Arash Abadpour (Kamangir)
|
|
@@ -52,6 +52,6 @@ Also home to [blue README](https://github.com/kamangir/bluer-objects/blob/main/b
|
|
|
52
52
|
|
|
53
53
|
[](https://github.com/kamangir/bluer-objects/actions/workflows/pylint.yml) [](https://github.com/kamangir/bluer-objects/actions/workflows/pytest.yml) [](https://github.com/kamangir/bluer-objects/actions/workflows/bashtest.yml) [](https://pypi.org/project/bluer-objects/) [](https://pypistats.org/packages/bluer-objects)
|
|
54
54
|
|
|
55
|
-
built by 🌀 [`bluer_options-5.
|
|
55
|
+
built by 🌀 [`bluer_options-5.20.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`bluer_objects-6.23.1`](https://github.com/kamangir/bluer-objects).
|
|
56
56
|
|
|
57
57
|
built by 🌀 [`blueness-3.96.1`](https://github.com/kamangir/blueness).
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
bluer_objects/__init__.py,sha256=
|
|
1
|
+
bluer_objects/__init__.py,sha256=a_mkOSH3vzc-PyV-FiyDBi3bA9i0CllL6GWQ0kTEQ0Y,310
|
|
2
2
|
bluer_objects/__main__.py,sha256=Yqfov833_hJuRne19WrGhT5DWAPtdffpoMxeSXS7EGw,359
|
|
3
3
|
bluer_objects/config.env,sha256=WyAZMrVtiAqPKhnrMIiBf-0P0MfxehMK7STnVVSYcig,170
|
|
4
4
|
bluer_objects/env.py,sha256=dSJJJw1yG5rq36AE95DCzmizOce9k4uW8Zv-MH3pJ2U,1223
|
|
@@ -7,10 +7,10 @@ bluer_objects/objects.py,sha256=TWbb6jeVvHJcLPutftXb724zxIiAy6aq3q4SLYgvPns,3462
|
|
|
7
7
|
bluer_objects/path.py,sha256=9uspZqObI29NerVDF30uILLaouDtloASh0Mywyq2_ew,3946
|
|
8
8
|
bluer_objects/sample.env,sha256=HBpf1DRNOkN29g79B9HJUceVJHddADxexsVlnGwLLbI,860
|
|
9
9
|
bluer_objects/urls.py,sha256=paHaYlLMQOI46-EYNch5ohu9Q09BMkF2vvJy1QufrVI,19
|
|
10
|
-
bluer_objects/.abcli/abcli.sh,sha256=
|
|
11
|
-
bluer_objects/.abcli/actions.sh,sha256=
|
|
10
|
+
bluer_objects/.abcli/abcli.sh,sha256=8RDi_vCZfB6JOeGSJWcmmzZv2pS4o-_j250rFYG7Ljc,202
|
|
11
|
+
bluer_objects/.abcli/actions.sh,sha256=HZI-X5KUy6bXEHmxywfBN1zbHalU0mcTblTQ2HvIfOE,236
|
|
12
12
|
bluer_objects/.abcli/aka.sh,sha256=odRbw4KZb9Ld7uXny6H2pPi64_5kowKX3s68N6YvRmI,23
|
|
13
|
-
bluer_objects/.abcli/alias.sh,sha256=
|
|
13
|
+
bluer_objects/.abcli/alias.sh,sha256=bTYYdjKYH9TfwnSiJR6kvO2NDDCtZ6EVeOPHC_xy4cU,537
|
|
14
14
|
bluer_objects/.abcli/bluer_objects.sh,sha256=24qMYZImMHREqtYRFdDwIP_TaRnb9RBtUL836RtZWG0,204
|
|
15
15
|
bluer_objects/.abcli/cache.sh,sha256=koMJSyjyQKIzwZ8RmtUEZOSjSRW6MEORSPRXiUdLX6k,77
|
|
16
16
|
bluer_objects/.abcli/clone.sh,sha256=BvunzK-zNPIDylmh0GYuIjov3Bi62nEasfI8lGxbS3o,2580
|
|
@@ -18,49 +18,46 @@ bluer_objects/.abcli/download.sh,sha256=xV0wQJxyBiL8paCCC9tbf-iRUmOOlv6LXAxaO6yY
|
|
|
18
18
|
bluer_objects/.abcli/file.sh,sha256=djcHSFS8fqlCsoDyZKmimNTzd-jOUnxbOFpL7xq_hGk,150
|
|
19
19
|
bluer_objects/.abcli/gif.sh,sha256=Vr6632Dq3g5eBI5OCFmIKS0GrSpE1Jzsp7wWGR62fms,755
|
|
20
20
|
bluer_objects/.abcli/host.sh,sha256=k1fX5qAUKECxtIBmOP6U-CXHbEUEurjZUYlrVIjo7_Q,556
|
|
21
|
-
bluer_objects/.abcli/ls.sh,sha256=
|
|
22
|
-
bluer_objects/.abcli/metadata.sh,sha256=
|
|
23
|
-
bluer_objects/.abcli/mlflow.sh,sha256=
|
|
21
|
+
bluer_objects/.abcli/ls.sh,sha256=CG6tPvxkXxa7SqK9DwLJLyjaekqDpYJFLYdjuURzeIA,611
|
|
22
|
+
bluer_objects/.abcli/metadata.sh,sha256=3SuiTy8EubAmvWBO2Zq-qFskl_1xXtRTgO-dsQ0fAQM,358
|
|
23
|
+
bluer_objects/.abcli/mlflow.sh,sha256=5DotypKA2ewToYWjJf8KJQwUW3r54oxyy9p3EPE504Q,644
|
|
24
24
|
bluer_objects/.abcli/object.sh,sha256=nzXPfgS2nicI-3dNVjC-xw9QKdWN1mtUcy7VmLGyWR8,816
|
|
25
|
-
bluer_objects/.abcli/publish.sh,sha256=
|
|
26
|
-
bluer_objects/.abcli/select.sh,sha256=
|
|
27
|
-
bluer_objects/.abcli/storage.sh,sha256=
|
|
25
|
+
bluer_objects/.abcli/publish.sh,sha256=Vwx5ZreLG2LlUrJTVOYnmse07wYTr7_9zVhH9qhsUHw,1847
|
|
26
|
+
bluer_objects/.abcli/select.sh,sha256=oXT3KBaTDOd8xlurALDIxhzbOTVOFyGpLTseqPxtNqU,863
|
|
27
|
+
bluer_objects/.abcli/storage.sh,sha256=iYHxdXJI9sGR-WKxDuYKOB06FccSQ0G0-uZn9UJQGnc,321
|
|
28
28
|
bluer_objects/.abcli/tags.sh,sha256=ct8oi8u6i9fEMeaeM49Q90BewjTbjQHtzWRgfi2qxLY,75
|
|
29
29
|
bluer_objects/.abcli/upload.sh,sha256=SlUn0YXxx0eE2M6-LnG9hkaY8DKiuzh4YAbdkuzDEXo,2223
|
|
30
30
|
bluer_objects/.abcli/metadata/get.sh,sha256=DEvEM2P1_ufuo5KZTWNc1WzL9AW0xXJhrM5r_HRlwBs,803
|
|
31
31
|
bluer_objects/.abcli/metadata/post.sh,sha256=rH4yMzdG5RjlM4ExR_zEKwKbrjiDoow-eK_I_Xr-q60,553
|
|
32
|
-
bluer_objects/.abcli/mlflow/browse.sh,sha256=
|
|
32
|
+
bluer_objects/.abcli/mlflow/browse.sh,sha256=PxImXtat6oMOHUHCiuAJeC8mDKaxQUvLa1YfOOq8deY,1149
|
|
33
33
|
bluer_objects/.abcli/mlflow/cache.sh,sha256=WxkC4mnhSLwdFThghXcmyuNhaLdEZ0Q_ItIL7fLiyy8,529
|
|
34
34
|
bluer_objects/.abcli/mlflow/list_registered_models.sh,sha256=7WwSvY4aYdXqgjjzTE0WzoGp5lomOk1JVmZOA_125EU,183
|
|
35
35
|
bluer_objects/.abcli/mlflow/log_artifacts.sh,sha256=FOTGhzTKR8c1Pxl7wioeXJEDoM9j0Y_7Zv0kfSGMb30,232
|
|
36
36
|
bluer_objects/.abcli/mlflow/log_run.sh,sha256=aZAkRJa5bqBEClCI4WQs8_2Gkchm0lyHTMvr45yy7HU,220
|
|
37
37
|
bluer_objects/.abcli/mlflow/run.sh,sha256=wlyWNpJxZ2RGKWZu7bf4fxiRQ2a7gq5rGDaTwJsEaNg,249
|
|
38
|
-
bluer_objects/.abcli/mlflow/tags.sh,sha256=
|
|
38
|
+
bluer_objects/.abcli/mlflow/tags.sh,sha256=ozXx3uGpM7Xxf943heMy0uF1kbNScT8dZIKWomB5peo,354
|
|
39
39
|
bluer_objects/.abcli/mlflow/test.sh,sha256=Tbnb24e9jV45tFgsBibZwcLIsMC4Sdhf5IMEeoZoQTw,242
|
|
40
40
|
bluer_objects/.abcli/mlflow/transition.sh,sha256=_xk5fqzzZWh69lh2Wi6IQ4X1I5LRGiJ5opy4El1Walw,598
|
|
41
41
|
bluer_objects/.abcli/mlflow/tags/clone.sh,sha256=htaHWDQfzPJ5yY4dxqFKuRwnCz-XyLR8yT7gJ5PIQeU,423
|
|
42
42
|
bluer_objects/.abcli/mlflow/tags/get.sh,sha256=cEdUnQhc7LYYbU2yuKwuPEFlAZ1iYkDpyeEvRWyjYZE,222
|
|
43
43
|
bluer_objects/.abcli/mlflow/tags/search.sh,sha256=pQDnLUehke3pZ2MpsqJc6c_JFewIVAN07vJxVSJfUvM,288
|
|
44
44
|
bluer_objects/.abcli/mlflow/tags/set.sh,sha256=5OHtkVDsLknD5v1GAUSr3FXm3EX_c8IwO7se68aEuz0,266
|
|
45
|
-
bluer_objects/.abcli/storage/clear.sh,sha256=
|
|
46
|
-
bluer_objects/.abcli/storage/download_file.sh,sha256=
|
|
47
|
-
bluer_objects/.abcli/storage/exists.sh,sha256=
|
|
48
|
-
bluer_objects/.abcli/storage/list.sh,sha256=
|
|
49
|
-
bluer_objects/.abcli/storage/rm.sh,sha256=
|
|
50
|
-
bluer_objects/.abcli/storage/status.sh,sha256=
|
|
45
|
+
bluer_objects/.abcli/storage/clear.sh,sha256=pneKhggVbNQ3vbIWeipgjTbkzzTiFZGggoXJu7OAyrw,1248
|
|
46
|
+
bluer_objects/.abcli/storage/download_file.sh,sha256=2ZQgsxzSYw5Zwcj5XQn-NcHI_MkmzmmZWLM4D1ev1N4,203
|
|
47
|
+
bluer_objects/.abcli/storage/exists.sh,sha256=0b8wgjts1z8GZbE_KeulbrG471hACKORPPcwwqRvYNE,163
|
|
48
|
+
bluer_objects/.abcli/storage/list.sh,sha256=ySUDS31yq9qQ_2q7oXR302hConAzs0LYQ739TWJgQsI,165
|
|
49
|
+
bluer_objects/.abcli/storage/rm.sh,sha256=kD4LY0QQXr_1EknzIHveC_I0sPFo6onfCkqtc9Em5yc,277
|
|
50
|
+
bluer_objects/.abcli/storage/status.sh,sha256=4vV49LOFp7xoT2Wg9aNa44m69Z6xOsKcU7w5e2NrnX8,371
|
|
51
51
|
bluer_objects/.abcli/tests/README.sh,sha256=ToCOfpurKI1Zkl-bXzA-Yowc038jPn6Cx-_EuosgxCY,147
|
|
52
52
|
bluer_objects/.abcli/tests/clone.sh,sha256=1tRa7LV4DZUcapu4mAg6hC1p8xo1K3v-IANdr_rI11k,858
|
|
53
|
-
bluer_objects/.abcli/tests/help.sh,sha256=
|
|
53
|
+
bluer_objects/.abcli/tests/help.sh,sha256=eIKFdVt-KMqMLVzKbu2XWgvDqc6chsHnpE43qOkMmK0,1773
|
|
54
54
|
bluer_objects/.abcli/tests/host.sh,sha256=yvWymyoJgdCjrNFQuvw9rB4GWakjgyuf4iqGhswC0QA,133
|
|
55
|
-
bluer_objects/.abcli/tests/ls.sh,sha256=
|
|
55
|
+
bluer_objects/.abcli/tests/ls.sh,sha256=KTtnV6JkAi41M3cFXQJJElznMDGogVZYlVvxrK0aWeI,190
|
|
56
56
|
bluer_objects/.abcli/tests/metadata.sh,sha256=UvulpNrp0GNUIgQz8_M8QxhwWBKcNcDQP4OOGcxjS5w,1610
|
|
57
57
|
bluer_objects/.abcli/tests/mlflow_cache.sh,sha256=2tz5i7eLkpWvkYjCIll-kIrgmIip3juUpBQzmeJBc_Y,363
|
|
58
58
|
bluer_objects/.abcli/tests/mlflow_logging.sh,sha256=dCeUslVK7rWjTfXTQnGFUTYGsaKkuxHpaOllrf9HTc8,286
|
|
59
59
|
bluer_objects/.abcli/tests/mlflow_tags.sh,sha256=PW9OWKhyChpEYbSJH9waofSh6wA6ZekgOD4dExQ9QX0,764
|
|
60
60
|
bluer_objects/.abcli/tests/mlflow_test.sh,sha256=5ng1fCyA689JRfqaPjSgJO_kYrhEYLRQfKQ_xZz2cAs,117
|
|
61
|
-
bluer_objects/.abcli/tests/mysql_cache.sh,sha256=67hcbHdo7F-4cpHw2Px6V7lJctRTsJekutICxecISTU,379
|
|
62
|
-
bluer_objects/.abcli/tests/mysql_relations.sh,sha256=7fkwYCeb47JYtZLSlPtPHPOz1fvqVD7PJloSwSU_HZ8,599
|
|
63
|
-
bluer_objects/.abcli/tests/mysql_tags.sh,sha256=gqRp3lOdME0QP0JPpB392VZECiiPYfPWsVYk7h9iocg,394
|
|
64
61
|
bluer_objects/.abcli/tests/test_gif.sh,sha256=CBBLdV3KkJ-aHwSTwQ1BzoG0MNr3bgXP3aw4mETtSbc,267
|
|
65
62
|
bluer_objects/.abcli/tests/version.sh,sha256=cKf8z0KJKNawIHo_6RE0M5KAJ_ZpicTzyer5PMOVXCk,166
|
|
66
63
|
bluer_objects/README/__init__.py,sha256=BmSX0KzYCTAc2_wwi8QWGSt7PYKNK46IYD0VPr_xJMk,692
|
|
@@ -120,8 +117,8 @@ bluer_objects/tests/test_mlflow.py,sha256=B7CvITThv6YmDB1la9_H2sF2VLt8urpNDQ0YnC
|
|
|
120
117
|
bluer_objects/tests/test_objects.py,sha256=GNW4zbswrrK-kyyeCmfwACF5s1npVVXli_18q_6LaJc,4216
|
|
121
118
|
bluer_objects/tests/test_path.py,sha256=JjONWyhZyMM_u1SzD1RI_iZ5vYJDUe-B51fbbHczIig,85
|
|
122
119
|
bluer_objects/tests/test_version.py,sha256=Lyf3PMcA22e17BNRk_2VgPrtao6dWEgVoXo68Uds8SE,75
|
|
123
|
-
bluer_objects-6.
|
|
124
|
-
bluer_objects-6.
|
|
125
|
-
bluer_objects-6.
|
|
126
|
-
bluer_objects-6.
|
|
127
|
-
bluer_objects-6.
|
|
120
|
+
bluer_objects-6.23.1.dist-info/licenses/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
|
|
121
|
+
bluer_objects-6.23.1.dist-info/METADATA,sha256=KfOGKJIO30y_0V7MExqmzFKKy25BdQl3llSwlzLps_s,2657
|
|
122
|
+
bluer_objects-6.23.1.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
123
|
+
bluer_objects-6.23.1.dist-info/top_level.txt,sha256=RX2TpddbnRkurda3G_pAdyeTztP2IhhRPx949GlEvQo,14
|
|
124
|
+
bluer_objects-6.23.1.dist-info/RECORD,,
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
#! /usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
function test_bluer_objects_mysql_cache() {
|
|
4
|
-
local keyword="test-keyword-$(abcli_string_timestamp_short)"
|
|
5
|
-
local value="test-value-$(abcli_string_timestamp_short)"
|
|
6
|
-
|
|
7
|
-
abcli mysql cache write \
|
|
8
|
-
$keyword $value \
|
|
9
|
-
validate
|
|
10
|
-
[[ $? -ne 0 ]] && return 1
|
|
11
|
-
|
|
12
|
-
abcli_assert \
|
|
13
|
-
$(abcli mysql cache read $keyword) \
|
|
14
|
-
$value
|
|
15
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
#! /usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
function test_bluer_objects_mysql_relations() {
|
|
4
|
-
local object_name_1="test-object-$(abcli_string_timestamp_short)"
|
|
5
|
-
local object_name_2="test-object-$(abcli_string_timestamp_short)"
|
|
6
|
-
|
|
7
|
-
local relation=$(abcli mysql relations list --return_list 1 --count 1 --log 0)
|
|
8
|
-
[[ -z "$relation" ]] && return 1
|
|
9
|
-
|
|
10
|
-
abcli mysql relations set \
|
|
11
|
-
$object_name_1 \
|
|
12
|
-
$object_name_2 \
|
|
13
|
-
$relation \
|
|
14
|
-
validate
|
|
15
|
-
[[ $? -ne 0 ]] && return 1
|
|
16
|
-
|
|
17
|
-
abcli_assert \
|
|
18
|
-
$(abcli mysql relations get $object_name_1 $object_name_2 --log 0) \
|
|
19
|
-
$relation
|
|
20
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
#! /usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
function test_bluer_objects_mysql_tags() {
|
|
4
|
-
local object_name="test-object-$(abcli_string_timestamp_short)"
|
|
5
|
-
local tag="test-tag-$(abcli_string_timestamp_short)"
|
|
6
|
-
|
|
7
|
-
abcli mysql tags set \
|
|
8
|
-
$object_name \
|
|
9
|
-
$tag \
|
|
10
|
-
validate
|
|
11
|
-
[[ $? -ne 0 ]] && return 1
|
|
12
|
-
|
|
13
|
-
abcli_assert \
|
|
14
|
-
$(abcli mysql tags get $object_name --log 0) \
|
|
15
|
-
$tag
|
|
16
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|