cocoindex 0.1.61__cp313-cp313-macosx_10_12_x86_64.whl → 0.1.62__cp313-cp313-macosx_10_12_x86_64.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.
Binary file
cocoindex/cli.py CHANGED
@@ -408,6 +408,12 @@ def update(
408
408
  app_ref, flow_name = _parse_app_flow_specifier(app_flow_specifier)
409
409
  _load_user_app(app_ref)
410
410
 
411
+ if live:
412
+ click.secho(
413
+ "NOTE: Flow code changes will NOT be reflected in the server until you restart it.",
414
+ fg="red",
415
+ )
416
+
411
417
  options = flow.FlowLiveUpdaterOptions(live_mode=live, print_stats=not quiet)
412
418
  if flow_name is None:
413
419
  if setup:
@@ -597,6 +603,10 @@ def server(
597
603
  ),
598
604
  )
599
605
  else:
606
+ click.secho(
607
+ "NOTE: Flow code changes will NOT be reflected in the server until you restart it. Use --reload to enable auto-reload.",
608
+ fg="red",
609
+ )
600
610
  _run_server(*args)
601
611
 
602
612
 
@@ -633,9 +643,6 @@ def _run_server(
633
643
  if address is not None:
634
644
  server_settings.address = address
635
645
 
636
- if COCOINDEX_HOST in cors_origins:
637
- click.echo(f"Open CocoInsight at: {COCOINDEX_HOST}/cocoinsight")
638
-
639
646
  if run_setup:
640
647
  _setup_flows(
641
648
  flow.flows().values(),
@@ -649,6 +656,9 @@ def _run_server(
649
656
 
650
657
  lib.start_server(server_settings)
651
658
 
659
+ if COCOINDEX_HOST in cors_origins:
660
+ click.echo(f"Open CocoInsight at: {COCOINDEX_HOST}/cocoinsight")
661
+
652
662
  click.secho("Press Ctrl+C to stop the server.", fg="yellow")
653
663
 
654
664
  shutdown_event = threading.Event()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cocoindex
3
- Version: 0.1.61
3
+ Version: 0.1.62
4
4
  Requires-Dist: click>=8.1.8
5
5
  Requires-Dist: rich>=14.0.0
6
6
  Requires-Dist: python-dotenv>=1.1.0
@@ -1,11 +1,11 @@
1
- cocoindex-0.1.61.dist-info/METADATA,sha256=k-_WSzTH8tqfDz3Vk_LmL6iZIH1IcrlxYvxXpXxzJ1c,10020
2
- cocoindex-0.1.61.dist-info/WHEEL,sha256=deRJ-jlF-gsnC68aITNDSAp1vzV7deJw5fsyegVYAZ4,106
3
- cocoindex-0.1.61.dist-info/entry_points.txt,sha256=_NretjYVzBdNTn7dK-zgwr7YfG2afz1u1uSE-5bZXF8,46
4
- cocoindex-0.1.61.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
1
+ cocoindex-0.1.62.dist-info/METADATA,sha256=zLkmmjLMos6lgZF4pDNIJzlhx4WCr3lhwWHBrBWtEzA,10020
2
+ cocoindex-0.1.62.dist-info/WHEEL,sha256=deRJ-jlF-gsnC68aITNDSAp1vzV7deJw5fsyegVYAZ4,106
3
+ cocoindex-0.1.62.dist-info/entry_points.txt,sha256=_NretjYVzBdNTn7dK-zgwr7YfG2afz1u1uSE-5bZXF8,46
4
+ cocoindex-0.1.62.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
5
5
  cocoindex/__init__.py,sha256=hDjehCjxRabFCW0RTt00JxnSAJIn9HeVoK4OjFbETsk,1910
6
- cocoindex/_engine.cpython-313-darwin.so,sha256=2QB3oSrQfph1v-5AwUGWhiwBc6ilzkhEossYer87yJ8,60212196
6
+ cocoindex/_engine.cpython-313-darwin.so,sha256=Q267W1ibpxaq5GIvJy9DRVvyUwvl3qYKUkr-SNhy0GM,60212188
7
7
  cocoindex/auth_registry.py,sha256=1XqO7ibjmBBd8i11XSJTvTgdz8p1ptW-ZpuSgo_5zzk,716
8
- cocoindex/cli.py,sha256=8bDL-Qmd9NYtn1DsDfvUMk45xfAqNf9YTyM7H9KRuNU,21345
8
+ cocoindex/cli.py,sha256=YpAn6awBlPHtTvDcHQk3xXS1PDlF4HDs5ak6t2da_WE,21695
9
9
  cocoindex/convert.py,sha256=FsKb2Pfbm7e1VQDOs_AsoiW9PbIUuyHQuqUlrENXmUY,11199
10
10
  cocoindex/flow.py,sha256=x13SDZvFZ-MR-gGF1HPp14DMSn0vp37cfz0YFK9Pmy8,33334
11
11
  cocoindex/functions.py,sha256=IBwvdPpGR-S5mk53HvHpT2GVs15MI9wQznxgOdxA0ac,3202
@@ -25,4 +25,4 @@ cocoindex/tests/test_optional_database.py,sha256=snAmkNa6wtOSaxoZE1HgjvL5v_ylitt
25
25
  cocoindex/tests/test_typing.py,sha256=t6UCYShcfonTfjBlGRWPiFGMZ8DGFfABXo6idekPoJE,14757
26
26
  cocoindex/typing.py,sha256=s_Hk4Npi8pxJUM2h_7Km0VFrojA8wJU9VDtRqVSL6C0,12622
27
27
  cocoindex/utils.py,sha256=hUhX-XV6XGCtJSEIpBOuDv6VvqImwPlgBxztBTw7u0U,598
28
- cocoindex-0.1.61.dist-info/RECORD,,
28
+ cocoindex-0.1.62.dist-info/RECORD,,