arkitekt-next 0.8.40__py3-none-any.whl → 0.8.42__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 arkitekt-next might be problematic. Click here for more details.

@@ -51,14 +51,27 @@ def init(ctx, boring, services, config, documents, schemas, path, seperate_doc_d
51
51
  # Initializing the config
52
52
  projects = {}
53
53
 
54
-
55
54
  registry = check_and_import_services()
56
55
 
57
- base_config = yaml.load(
58
- open(build_relative_dir("configs", "base.yaml"), "r"), Loader=yaml.FullLoader
59
- )
56
+ chosen_services = registry.service_builders
57
+
58
+ if services:
59
+ chosen_services = {
60
+ key: service
61
+ for key, service in registry.service_builders.items()
62
+ if key in services
63
+ }
64
+ else:
65
+ service = click.prompt(
66
+ "Choose a service to initialize the project for",
67
+ type=click.Choice(list(chosen_services.keys())),
68
+ )
69
+
70
+ chosen_services = {service: chosen_services[service]}
71
+
72
+
60
73
 
61
- for key, service in registry.service_builders.items():
74
+ for key, service in chosen_services.items():
62
75
  try:
63
76
 
64
77
  schema, project = service.get_graphql_schema(), service.get_turms_project()
@@ -117,7 +117,7 @@ with_choose_services = click.option(
117
117
  help="The services to create the codegen for",
118
118
  multiple=True,
119
119
  type=click.Choice(compile_services()),
120
- default=["mikro"],
120
+ default=[],
121
121
  )
122
122
  with_graphql_config = click.option(
123
123
  "--config",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: arkitekt-next
3
- Version: 0.8.40
3
+ Version: 0.8.42
4
4
  Summary: client for the arkitekt_next platform
5
5
  License: MIT
6
6
  Author: jhnnsrs
@@ -52,7 +52,7 @@ arkitekt_next/cli/commands/call/main.py,sha256=SdxlvSgA17-M_gwItiFU_srbh-CNdHpCT
52
52
  arkitekt_next/cli/commands/call/remote.py,sha256=Id6t1nUdXmERx9wbutEhvryUMAM80_G4HVHkhYZosTE,2097
53
53
  arkitekt_next/cli/commands/gen/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
54
54
  arkitekt_next/cli/commands/gen/compile.py,sha256=F0rAeBL4WWLdBGQRxVNqe5Bjek_SovhNO5rKrMEhj_4,1457
55
- arkitekt_next/cli/commands/gen/init.py,sha256=ICI94Cld74bPctN71-aLoUAMOlguDaWFc3w9d8tzIdU,3933
55
+ arkitekt_next/cli/commands/gen/init.py,sha256=QtH7-lUDrlbBSEBR14O6rON7cQaI7oORT-4owe-P1h8,4267
56
56
  arkitekt_next/cli/commands/gen/main.py,sha256=_BdkcsXoWY5_3gmboq2e0pGYM6lAnwqQgBAyxmvdf6U,947
57
57
  arkitekt_next/cli/commands/gen/watch.py,sha256=nf4QckdTJOWxvKoeNRwvC4rXQ4xhIx8LCDDJzpPhcY8,1189
58
58
  arkitekt_next/cli/commands/init/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -89,7 +89,7 @@ arkitekt_next/cli/errors.py,sha256=zLTjaCbun6qM2nTldjyZd-DvykqKn5A3Gn80uYdx7Vc,9
89
89
  arkitekt_next/cli/inspect.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
90
90
  arkitekt_next/cli/io.py,sha256=QSnyIjPKZZ_pWp-b_hbM4XGwarCf4IYTgcXtNXBawH8,7143
91
91
  arkitekt_next/cli/main.py,sha256=Ua7sq_OfC491F6r6zNs_oEiR4jVOsZwxLpX0ZXR0Jk0,2227
92
- arkitekt_next/cli/options.py,sha256=ojOJ2oAUmPeSaITcwdtbBJcz8kGb1dp4vFw7KYQfZis,3821
92
+ arkitekt_next/cli/options.py,sha256=LwhEdjZutH_go568buS37L9Gn_roinrCC6BUu2sC3B0,3814
93
93
  arkitekt_next/cli/schemas/fluss.schema.graphql,sha256=MqrSpOxtWO9kWFCoUn9ySBPhIH3XozFiqrQl2zjEbiQ,35803
94
94
  arkitekt_next/cli/schemas/gucker.schema.graphql,sha256=r_KL-MoFRCGUobbtcBLCnpmFcali2A12TguynqQgmN4,152947
95
95
  arkitekt_next/cli/schemas/kabinet.schema.graphql,sha256=-N7igrfzFphjA2qV-abW59k8jtdJh1py4008W0MkqrM,9915
@@ -132,8 +132,8 @@ arkitekt_next/qt/utils.py,sha256=MgBPtPmCSBkIuATov3UgREESwxAHh77lWNNxyE7Qs48,773
132
132
  arkitekt_next/service_registry.py,sha256=oga1_fy7clwtcQO7XcSzWlyu2d5dna9H79uKLv8fKI0,6119
133
133
  arkitekt_next/tqdm.py,sha256=lQcJI5Q6Py7Gy88hOCiJujjPEEGd8G2k1mOVJJ6oYe8,1531
134
134
  arkitekt_next/utils.py,sha256=QETdzn_GIMSw6LdaXL89bqvqp9MGwEBK8Lj54MpnMwc,2396
135
- arkitekt_next-0.8.40.dist-info/LICENSE,sha256=YZ2oRjC248t-GpoEyw7J13vwKYNG6zhYMaEAix6EzF0,1089
136
- arkitekt_next-0.8.40.dist-info/METADATA,sha256=cOXZZkrbK7NLK75IpDqdgPteeH3CAxVWEwJ9bm6XQWw,6210
137
- arkitekt_next-0.8.40.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
138
- arkitekt_next-0.8.40.dist-info/entry_points.txt,sha256=-hxikQx4xZ6TiOnWVDOlTN_kcAISgGFvTHXIchsCHSc,60
139
- arkitekt_next-0.8.40.dist-info/RECORD,,
135
+ arkitekt_next-0.8.42.dist-info/LICENSE,sha256=YZ2oRjC248t-GpoEyw7J13vwKYNG6zhYMaEAix6EzF0,1089
136
+ arkitekt_next-0.8.42.dist-info/METADATA,sha256=lkLiU44ZXXP36cyrclqfomQuJOZRKZGB9dHSBMvvo_Y,6210
137
+ arkitekt_next-0.8.42.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
138
+ arkitekt_next-0.8.42.dist-info/entry_points.txt,sha256=-hxikQx4xZ6TiOnWVDOlTN_kcAISgGFvTHXIchsCHSc,60
139
+ arkitekt_next-0.8.42.dist-info/RECORD,,