Skip to content

Commit 6703fd5

Browse files
Merge pull request #1240 from gooddata/snapshot-master-8213a2a2-to-rel/dev
[bot] Merge master/8213a2a2 into rel/dev
2 parents 5f652e0 + 8213a2a commit 6703fd5

File tree

4 files changed

+102
-5
lines changed

4 files changed

+102
-5
lines changed

packages/gooddata-flight-server/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Documentation = "https://gooddata-flight-server.readthedocs.io/en/v1.55.0"
5656
Source = "https://github.com/gooddata/gooddata-python-sdk"
5757

5858
[project.scripts]
59-
gooddata-flight-server = "gooddata_flight_server.cli:main"
59+
gooddata-flight-server = "gooddata_flight_server.cli:server_cli"
6060

6161
[dependency-groups]
6262
test = [

packages/gooddata-sdk/bin/gdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ from gooddata_sdk.cli.gdc_core import main
88

99
if __name__ == "__main__":
1010
sys.argv[0] = re.sub(r"(-script\.pyw?|\.exe)?$", "", sys.argv[0])
11-
sys.exit(main(sys.argv[1:]))
11+
sys.exit(main())

packages/gooddata-sdk/src/gooddata_sdk/cli/gdc_core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def _manage_node_cli() -> None:
8989
sys.exit(1)
9090

9191

92-
def main(cli_args: list[str]) -> None:
92+
def main() -> None:
9393
"""
9494
The entrypoint for gdc cli.
9595
"""
@@ -102,7 +102,7 @@ def main(cli_args: list[str]) -> None:
102102
parser.add_argument("--only", help="Specify available granularity for action.", nargs="+", choices=_SUPPORTED)
103103

104104
_manage_node_cli()
105-
args = parser.parse_args(cli_args)
105+
args = parser.parse_args()
106106
manifest_directory = get_manifest_directory()
107107
if args.action == "clone":
108108
_clone(manifest_directory, args)
@@ -111,4 +111,4 @@ def main(cli_args: list[str]) -> None:
111111

112112

113113
if __name__ == "__main__":
114-
main(sys.argv[1:])
114+
main()

uv.lock

Lines changed: 97 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)