flock-core 0.4.0b2__py3-none-any.whl → 0.4.0b4__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 flock-core might be problematic. Click here for more details.

flock/core/flock.py CHANGED
@@ -617,16 +617,22 @@ class Flock(BaseModel, Serializable):
617
617
 
618
618
  # Look for type annotations (everything after ":")
619
619
  for part in signature_parts:
620
- parts = part.split(":")
621
- if len(parts) > 1:
622
- type_part = parts[1].strip()
620
+ try:
621
+ parts = part.split(":")
622
+ if len(parts) > 1:
623
+ type_part = parts[1].strip()
623
624
 
624
- pydantic_models = extract_pydantic_models_from_type_string(
625
- type_part
626
- )
627
- if pydantic_models:
628
- for model in pydantic_models:
629
- custom_types.append(model.__name__)
625
+ pydantic_models = extract_pydantic_models_from_type_string(
626
+ type_part
627
+ )
628
+ if pydantic_models:
629
+ for model in pydantic_models:
630
+ custom_types.append(model.__name__)
631
+ except Exception:
632
+ logger.warning(
633
+ f"Could not extract types from signature '{signature}' (probably no type defined?)"
634
+ )
635
+ return []
630
636
 
631
637
  # # Extract from list[Type]
632
638
  # if "list[" in type_part:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flock-core
3
- Version: 0.4.0b2
3
+ Version: 0.4.0b4
4
4
  Summary: Declarative LLM Orchestration at Scale
5
5
  Author-email: Andre Ratzenberger <andre.ratzenberger@whiteduck.de>
6
6
  License-File: LICENSE
@@ -16,7 +16,7 @@ flock/cli/view_results.py,sha256=dOzK0O1FHSIDERnx48y-2Xke9BkOHS7pcOhs64AyIg0,781
16
16
  flock/cli/yaml_editor.py,sha256=K3N0bh61G1TSDAZDnurqW9e_-hO6CtSQKXQqlDhCjVo,12527
17
17
  flock/cli/assets/release_notes.md,sha256=bqnk50jxM3w5uY44Dc7MkdT8XmRREFxrVBAG9XCOSSU,4896
18
18
  flock/core/__init__.py,sha256=R64A7zi51Uz6jzzCFWGol9SZQnMFz3ynEse5ivhSkEA,805
19
- flock/core/flock.py,sha256=jKhI1UyrgPpel-r8Qjwp82Zwz2AghHMudKQYgy-8kYA,62329
19
+ flock/core/flock.py,sha256=ZB4NlBfAX3PUAm757eeVANHcbjp6UDbeixI-7yUrMEA,62592
20
20
  flock/core/flock_agent.py,sha256=L5sZ6weY4pNFbk8CEUrRD1506ojq_tx1jjQy02qEdC8,29126
21
21
  flock/core/flock_evaluator.py,sha256=dOXZeDOGZcAmJ9ahqq_2bdGUU1VOXY4skmwTVpAjiVw,1685
22
22
  flock/core/flock_factory.py,sha256=MGTkJCP1WGpV614f87r1vwe0tqAvBCoH9PlqtqDyJDk,2828
@@ -430,8 +430,8 @@ flock/workflow/activities.py,sha256=eVZDnxGJl_quNO-UTV3YgvTV8LrRaHN3QDAA1ANKzac,
430
430
  flock/workflow/agent_activities.py,sha256=NhBZscflEf2IMfSRa_pBM_TRP7uVEF_O0ROvWZ33eDc,963
431
431
  flock/workflow/temporal_setup.py,sha256=VWBgmBgfTBjwM5ruS_dVpA5AVxx6EZ7oFPGw4j3m0l0,1091
432
432
  flock/workflow/workflow.py,sha256=I9MryXW_bqYVTHx-nl2epbTqeRy27CAWHHA7ZZA0nAk,1696
433
- flock_core-0.4.0b2.dist-info/METADATA,sha256=qGomy57c5JrnrpayoVAJK7xq6eJ20uM97ydTKJdttwQ,20773
434
- flock_core-0.4.0b2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
435
- flock_core-0.4.0b2.dist-info/entry_points.txt,sha256=rWaS5KSpkTmWySURGFZk6PhbJ87TmvcFQDi2uzjlagQ,37
436
- flock_core-0.4.0b2.dist-info/licenses/LICENSE,sha256=iYEqWy0wjULzM9GAERaybP4LBiPeu7Z1NEliLUdJKSc,1072
437
- flock_core-0.4.0b2.dist-info/RECORD,,
433
+ flock_core-0.4.0b4.dist-info/METADATA,sha256=0DojQCrrxsHSVfi051pnB7B8X5ONXtFHLt4iEEB9KbM,20773
434
+ flock_core-0.4.0b4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
435
+ flock_core-0.4.0b4.dist-info/entry_points.txt,sha256=rWaS5KSpkTmWySURGFZk6PhbJ87TmvcFQDi2uzjlagQ,37
436
+ flock_core-0.4.0b4.dist-info/licenses/LICENSE,sha256=iYEqWy0wjULzM9GAERaybP4LBiPeu7Z1NEliLUdJKSc,1072
437
+ flock_core-0.4.0b4.dist-info/RECORD,,