Skip to content

Add the example code of how to accelerate the data sharing with viney…

Codacy Production / Codacy Static Code Analysis required action Feb 27, 2024 in 0s

7 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 7
           

Complexity increasing per file
==============================
- k8s/examples/vineyard-on-fluid/linear-regression-with-vineyard.py  1
         

Clones added
============
- k8s/examples/vineyard-on-fluid/prepare-dataset.py  5
         

See the complete overview on Codacy

Annotations

Check notice on line 6 in k8s/examples/vineyard-on-fluid/linear-regression-with-vineyard.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

k8s/examples/vineyard-on-fluid/linear-regression-with-vineyard.py#L6

Trailing whitespace

Check notice on line 121 in k8s/examples/vineyard-on-fluid/linear-regression-with-vineyard.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

k8s/examples/vineyard-on-fluid/linear-regression-with-vineyard.py#L121

Import "from kubernetes.client import models as k8s_models" should be placed at the top of the module

Check notice on line 145 in k8s/examples/vineyard-on-fluid/linear-regression-with-vineyard.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

k8s/examples/vineyard-on-fluid/linear-regression-with-vineyard.py#L145

Trailing whitespace

Check notice on line 55 in k8s/examples/vineyard-on-fluid/prepare-dataset.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

k8s/examples/vineyard-on-fluid/prepare-dataset.py#L55

Import "import oss2" should be placed at the top of the module

Check notice on line 56 in k8s/examples/vineyard-on-fluid/prepare-dataset.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

k8s/examples/vineyard-on-fluid/prepare-dataset.py#L56

Import "import io" should be placed at the top of the module

Check notice on line 56 in k8s/examples/vineyard-on-fluid/prepare-dataset.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

k8s/examples/vineyard-on-fluid/prepare-dataset.py#L56

standard import "import io" should be placed before "import numpy as np"

Check notice on line 57 in k8s/examples/vineyard-on-fluid/prepare-dataset.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

k8s/examples/vineyard-on-fluid/prepare-dataset.py#L57

Import "from oss2.credentials import EnvironmentVariableCredentialsProvider" should be placed at the top of the module