flock-core 0.2.8__py3-none-any.whl → 0.2.9__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.

@@ -68,18 +68,18 @@ class DSPyIntegrationMixin:
68
68
  try:
69
69
  # TODO: We have to find a way to avoid using eval here.
70
70
  # This is a security risk, as it allows arbitrary code execution.
71
-
72
- field_type = dspy.PythonInterpreter(
73
- sys.modules[__name__].__dict__
74
- | sys.modules["__main__"].__dict__
75
- ).execute(type_str)
76
-
77
- # try:
78
- # field_type = eval(type_str, sys.modules[__name__].__dict__)
79
- # except Exception:
80
- # field_type = eval(
81
- # type_str, sys.modules["__main__"].__dict__
82
- # )
71
+ # Figure out why the following code doesn't work as well as the eval.
72
+ # field_type = dspy.PythonInterpreter(
73
+ # sys.modules[__name__].__dict__
74
+ # | sys.modules["__main__"].__dict__
75
+ # ).execute(type_str)
76
+
77
+ try:
78
+ field_type = eval(type_str, sys.modules[__name__].__dict__)
79
+ except Exception:
80
+ field_type = eval(
81
+ type_str, sys.modules["__main__"].__dict__
82
+ )
83
83
 
84
84
  except Exception:
85
85
  field_type = str
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flock-core
3
- Version: 0.2.8
3
+ Version: 0.2.9
4
4
  Summary: Declarative LLM Orchestration at Scale
5
5
  Author-email: Andre Ratzenberger <andre.ratzenberger@whiteduck.de>
6
6
  License-File: LICENSE
@@ -22,7 +22,7 @@ flock/core/logging/span_middleware/baggage_span_processor.py,sha256=gJfRl8FeB6jd
22
22
  flock/core/logging/telemetry_exporter/base_exporter.py,sha256=rQJJzS6q9n2aojoSqwCnl7ZtHrh5LZZ-gkxUuI5WfrQ,1124
23
23
  flock/core/logging/telemetry_exporter/file_exporter.py,sha256=nKAjJSZtA7FqHSTuTiFtYYepaxOq7l1rDvs8U8rSBlA,3023
24
24
  flock/core/logging/telemetry_exporter/sqlite_exporter.py,sha256=CDsiMb9QcqeXelZ6ZqPSS56ovMPGqOu6whzBZRK__Vg,3498
25
- flock/core/mixin/dspy_integration.py,sha256=eFCe6B8vMmgKXY0eFIN_x_5DYyt0AZsffYXPSHTsO0U,7379
25
+ flock/core/mixin/dspy_integration.py,sha256=WHCCIxpb0Pk0NVV5tPEcpTWcwPMTVATY4O5yflgKrMA,7460
26
26
  flock/core/mixin/prompt_parser.py,sha256=eOqI-FK3y17gVqpc_y5GF-WmK1Jv8mFlkZxTcgweoxI,5121
27
27
  flock/core/registry/agent_registry.py,sha256=QHdr3Cb-32PEdz8jFCIZSH9OlfpRwAJMtSRpHCWJDq4,4889
28
28
  flock/core/tools/basic_tools.py,sha256=OwWaFu4NoVrc3Uijj56RY9XDDaP_mOnEa5B3wSWwwLE,4756
@@ -374,8 +374,8 @@ flock/workflow/activities.py,sha256=YEg-Gr8kzVsxWsmsZguIVhX2XwMRvhZ2OlnsJoG5g_A,
374
374
  flock/workflow/agent_activities.py,sha256=NhBZscflEf2IMfSRa_pBM_TRP7uVEF_O0ROvWZ33eDc,963
375
375
  flock/workflow/temporal_setup.py,sha256=VWBgmBgfTBjwM5ruS_dVpA5AVxx6EZ7oFPGw4j3m0l0,1091
376
376
  flock/workflow/workflow.py,sha256=I9MryXW_bqYVTHx-nl2epbTqeRy27CAWHHA7ZZA0nAk,1696
377
- flock_core-0.2.8.dist-info/METADATA,sha256=gV_4HxbnmRBNkBsGRlQpZV7Qg9zEbBFN2cp6iGP4heo,11569
378
- flock_core-0.2.8.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
379
- flock_core-0.2.8.dist-info/entry_points.txt,sha256=rWaS5KSpkTmWySURGFZk6PhbJ87TmvcFQDi2uzjlagQ,37
380
- flock_core-0.2.8.dist-info/licenses/LICENSE,sha256=iYEqWy0wjULzM9GAERaybP4LBiPeu7Z1NEliLUdJKSc,1072
381
- flock_core-0.2.8.dist-info/RECORD,,
377
+ flock_core-0.2.9.dist-info/METADATA,sha256=dLxdYNdWIn4ZlvhIT3HZJwd_C8ZB3eOvmbK9_KJw_nA,11569
378
+ flock_core-0.2.9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
379
+ flock_core-0.2.9.dist-info/entry_points.txt,sha256=rWaS5KSpkTmWySURGFZk6PhbJ87TmvcFQDi2uzjlagQ,37
380
+ flock_core-0.2.9.dist-info/licenses/LICENSE,sha256=iYEqWy0wjULzM9GAERaybP4LBiPeu7Z1NEliLUdJKSc,1072
381
+ flock_core-0.2.9.dist-info/RECORD,,