Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix build path #50

Merged
merged 1 commit into from
Aug 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion milvus_cli/scripts/alias_cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from helper_cli import create, getList, delete
from .helper_cli import create, getList, delete
import click


Expand Down
2 changes: 1 addition & 1 deletion milvus_cli/scripts/collection_cli.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from tabulate import tabulate
from helper_cli import create, getList, delete, rename, show, load, release
from .helper_cli import create, getList, delete, rename, show, load, release
import click
import os
import sys
Expand Down
4 changes: 2 additions & 2 deletions milvus_cli/scripts/connection_cli.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from tabulate import tabulate
from helper_cli import show, getList
from init_cli import cli
from .helper_cli import show, getList
from .init_cli import cli
import click


Expand Down
4 changes: 2 additions & 2 deletions milvus_cli/scripts/data_cli.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from helper_cli import delete, insert
from init_cli import cli
from .helper_cli import delete, insert
from .init_cli import cli

import click
import os
Expand Down
3 changes: 1 addition & 2 deletions milvus_cli/scripts/database_cli.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from tabulate import tabulate
from helper_cli import create, getList, delete, use
from init_cli import cli
from .helper_cli import create, getList, delete, use
import click


Expand Down
7 changes: 4 additions & 3 deletions milvus_cli/scripts/helper_cli.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
from init_cli import cli
from Types import ConnectException, ParameterException
from utils import WELCOME_MSG, EXIT_MSG, Completer, getPackageVersion
from .init_cli import cli
import sys
import os
import click
Expand All @@ -9,6 +7,9 @@
parent_dir = os.path.dirname(current_dir)
sys.path.append(parent_dir)

from utils import WELCOME_MSG, EXIT_MSG, Completer, getPackageVersion
from Types import ConnectException, ParameterException


def print_help_msg(command):
with click.Context(command) as ctx:
Expand Down
4 changes: 2 additions & 2 deletions milvus_cli/scripts/index_cli.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from tabulate import tabulate
from helper_cli import create, getList, delete, show
from init_cli import cli
from .helper_cli import create, getList, delete, show
from .init_cli import cli
import click
import os
import sys
Expand Down
19 changes: 9 additions & 10 deletions milvus_cli/scripts/milvus_cli.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
from init_cli import cli
from connection_cli import *
from helper_cli import *
from database_cli import *
from collection_cli import *
from index_cli import *
from data_cli import *
from user_cli import *
from alias_cli import *
from partition_cli import *
from .connection_cli import *
from .helper_cli import *
from .database_cli import *
from .collection_cli import *
from .index_cli import *
from .data_cli import *
from .user_cli import *
from .alias_cli import *
from .partition_cli import *


if __name__ == "__main__":
Expand Down
2 changes: 1 addition & 1 deletion milvus_cli/scripts/partition_cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from helper_cli import create, getList, delete, show, load, release
from .helper_cli import create, getList, delete, show, load, release
import click


Expand Down
2 changes: 1 addition & 1 deletion milvus_cli/scripts/user_cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from helper_cli import create, getList, delete
from .helper_cli import create, getList, delete
import click


Expand Down