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

@@ -69,20 +69,31 @@ class DSPyIntegrationMixin:
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
71
  # Figure out why the following code doesn't work as well as the eval.
72
+
73
+ # import dspy
74
+
72
75
  # field_type = dspy.PythonInterpreter(
73
- # sys.modules[__name__].__dict__
74
- # | sys.modules["__main__"].__dict__
76
+ # sys.modules[__name__].__dict__ | sys.modules["__main__"].__dict__
75
77
  # ).execute(type_str)
76
78
 
77
79
  try:
78
80
  field_type = eval(type_str, sys.modules[__name__].__dict__)
79
- except Exception:
81
+ except Exception as e:
82
+ print("Failed to evaluate type_str in __name__" + e)
80
83
  field_type = eval(
81
84
  type_str, sys.modules["__main__"].__dict__
82
85
  )
83
86
 
84
87
  except Exception:
85
- field_type = str
88
+ # AREPL fix - var
89
+ try:
90
+ field_type = eval(
91
+ f"exec_locals.get('{type_str}')",
92
+ sys.modules["__main__"].__dict__,
93
+ )
94
+ except Exception as e:
95
+ print(e)
96
+ field_type = str
86
97
 
87
98
  return name, field_type, desc
88
99
 
@@ -20,7 +20,7 @@ def display_banner():
20
20
  │ ▒█▀▀▀ █░░ █▀▀█ █▀▀ █░█ │
21
21
  │ ▒█▀▀▀ █░░ █░░█ █░░ █▀▄ │
22
22
  │ ▒█░░░ ▀▀▀ ▀▀▀▀ ▀▀▀ ▀░▀ │
23
- ╰━━━━━━━━━v{__version__}━━━━━━━━━╯
23
+ ╰━━━━━━━━━v{__version__}━━━━━━━━╯
24
24
  🦆 🐤 🐧 🐓
25
25
  """,
26
26
  justify="center",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flock-core
3
- Version: 0.2.9
3
+ Version: 0.2.10
4
4
  Summary: Declarative LLM Orchestration at Scale
5
5
  Author-email: Andre Ratzenberger <andre.ratzenberger@whiteduck.de>
6
6
  License-File: LICENSE
@@ -22,12 +22,12 @@ 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=WHCCIxpb0Pk0NVV5tPEcpTWcwPMTVATY4O5yflgKrMA,7460
25
+ flock/core/mixin/dspy_integration.py,sha256=BV4ibXZPYAmioGD13cQc-1mS2lqH4zmZsUtqBF_5rb8,7852
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
29
29
  flock/core/tools/dev_tools/github.py,sha256=a2OTPXS7kWOVA4zrZHynQDcsmEi4Pac5MfSjQOLePzA,5308
30
- flock/core/util/cli_helper.py,sha256=qBB5C4MU-JqohHVjdI8E7od5ZAnzM_0IteZndCc5RBQ,939
30
+ flock/core/util/cli_helper.py,sha256=nlSnPrc1pnYEFQXcL_wCqPI6g1Jr7AzNtmGoOPs0zKw,936
31
31
  flock/core/util/input_resolver.py,sha256=g9vDPdY4OH-G7qjas5ksGEHueokHGFPMoLOvC-ngeLo,5984
32
32
  flock/core/util/serializable.py,sha256=SymJ0YrjBx48mOBItYSqoRpKuzIc4vKWRS6ScTzre7s,2573
33
33
  flock/interpreter/python_interpreter.py,sha256=pq2e7KJfAYtBCP2hhbtFNeg18QdMFF66esoYn3MHfA4,26177
@@ -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.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,,
377
+ flock_core-0.2.10.dist-info/METADATA,sha256=3cccssoUbygJRWrQm572lR3mYMUHzxZ5IU8yu1Ponsg,11570
378
+ flock_core-0.2.10.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
379
+ flock_core-0.2.10.dist-info/entry_points.txt,sha256=rWaS5KSpkTmWySURGFZk6PhbJ87TmvcFQDi2uzjlagQ,37
380
+ flock_core-0.2.10.dist-info/licenses/LICENSE,sha256=iYEqWy0wjULzM9GAERaybP4LBiPeu7Z1NEliLUdJKSc,1072
381
+ flock_core-0.2.10.dist-info/RECORD,,