pixie-prompts 0.1.10__py3-none-any.whl → 0.1.10.dev1__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.
pixie/prompts/prompt.py CHANGED
@@ -49,7 +49,7 @@ key is the id() of the compiled string."""
49
49
  def _find_matching_prompt(obj):
50
50
  if isinstance(obj, str):
51
51
  for compiled in _compiled_prompt_registry.values():
52
- if compiled.value in obj:
52
+ if compiled.value == obj:
53
53
  return compiled
54
54
  return None
55
55
  elif isinstance(obj, dict):
@@ -76,7 +76,7 @@ def get_compiled_prompt(text: str) -> CompiledPrompt | None:
76
76
  if direct_match:
77
77
  return direct_match
78
78
  for compiled in _compiled_prompt_registry.values():
79
- if compiled.value in text:
79
+ if compiled.value == text:
80
80
  return compiled
81
81
  try:
82
82
  obj = json.loads(text)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pixie-prompts
3
- Version: 0.1.10
3
+ Version: 0.1.10.dev1
4
4
  Summary: Code-first, type-safe prompt management
5
5
  License: MIT
6
6
  License-File: LICENSE
@@ -1,13 +1,13 @@
1
1
  pixie/prompts/__init__.py,sha256=ZueU9cJ7aiVHBQYH4g3MXAFtjQwTfvvpy3d8ZTtBQ2c,396
2
2
  pixie/prompts/file_watcher.py,sha256=TAFY8tx5w--qUvpNX_L3ag5heCHJcZ1YO_10t8k9Sc0,14253
3
3
  pixie/prompts/graphql.py,sha256=jzTGVedsl_QoONUwV5gIZFgqlvpYBug97UhyAJ0_B3o,12258
4
- pixie/prompts/prompt.py,sha256=tmjWZZEDxGzcMh6U0AQ0KsW7ae2wQYbswsSLhpuenQ0,12384
4
+ pixie/prompts/prompt.py,sha256=SPxrzbGWnEfEdyzWUJUy-evs-YIbha7bPeHAHKtCdw4,12384
5
5
  pixie/prompts/prompt_management.py,sha256=gq5Eklqy2_Sq8jATVae4eANNmyFE8s8a9cedxWs2P_Y,2816
6
6
  pixie/prompts/server.py,sha256=gaZ4ws78f2381Zvegphy0yit1pAYZvm4kC7SJeGqYrs,7817
7
7
  pixie/prompts/storage.py,sha256=ochThc9WxefQMX3qHiarG6pZk6_1UGS-zLKOK6EiKXE,14894
8
8
  pixie/prompts/utils.py,sha256=ssAb4HdwZX__Fq50i2-DFsYXD5vpsYEliA_XI8GPx3Y,21929
9
- pixie_prompts-0.1.10.dist-info/METADATA,sha256=fJmXKktwaOFx-eGC1PxJP78jxOghJ_pPxCxxM6OMknM,4719
10
- pixie_prompts-0.1.10.dist-info/WHEEL,sha256=kJCRJT_g0adfAJzTx2GUMmS80rTJIVHRCfG0DQgLq3o,88
11
- pixie_prompts-0.1.10.dist-info/entry_points.txt,sha256=SWOSFuUXDxkJMmf28u7E0Go_LcEpofz7NAlV70Cp8Es,48
12
- pixie_prompts-0.1.10.dist-info/licenses/LICENSE,sha256=nZoehBpdSXe6iTF2ZWzM-fgXdXECUZ0J8LrW_1tBwyk,1064
13
- pixie_prompts-0.1.10.dist-info/RECORD,,
9
+ pixie_prompts-0.1.10.dev1.dist-info/METADATA,sha256=9F1_c4TR3EQbVcJdXU8-SMMQIGRESARV9Ayu6vLad2Y,4724
10
+ pixie_prompts-0.1.10.dev1.dist-info/WHEEL,sha256=3ny-bZhpXrU6vSQ1UPG34FoxZBp3lVcvK0LkgUz6VLk,88
11
+ pixie_prompts-0.1.10.dev1.dist-info/entry_points.txt,sha256=SWOSFuUXDxkJMmf28u7E0Go_LcEpofz7NAlV70Cp8Es,48
12
+ pixie_prompts-0.1.10.dev1.dist-info/licenses/LICENSE,sha256=nZoehBpdSXe6iTF2ZWzM-fgXdXECUZ0J8LrW_1tBwyk,1064
13
+ pixie_prompts-0.1.10.dev1.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.3.1
2
+ Generator: poetry-core 2.3.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any