Back to Baml

Summary

integ-tests/python/report.html

0.222.085.7 KB
Original Source

Summary

| Started | 2024-12-13 07:37:23 | | Ended | 2024-12-13 07:41:11 | | Duration | 0:03:47.968839 | | Total run time | 0:03:46.129134 |

102  

102 passed

Tests

tests/test_functions.py 97 0:03:46.102683

PASSED test_env_vars_reset 0:00:01.724247

| Started | 2024-12-13 07:37:24 | | Ended | 2024-12-13 07:37:25 | | Duration | 0:00:01.724247 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stdout call
Context depth is greater than 0! Except but ending trace! Context depth is greater than 0!

Teardown

PASSED test_sync 0:00:00.711866

| Started | 2024-12-13 07:37:25 | | Ended | 2024-12-13 07:37:26 | | Duration | 0:00:00.711866 | | Markers | | | Fixtures | event_loop_policy cleanup |

Setup

Call

Captured stdout call
got response key true 52

Teardown

PASSED TestAllInputs::test_single_bool 0:00:00.390461

| Started | 2024-12-13 07:37:26 | | Ended | 2024-12-13 07:37:26 | | Duration | 0:00:00.390461 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED TestAllInputs::test_single_string_list 0:00:00.541253

| Started | 2024-12-13 07:37:26 | | Ended | 2024-12-13 07:37:27 | | Duration | 0:00:00.541253 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED TestAllInputs::test_return_literal_union 0:00:00.638103

| Started | 2024-12-13 07:37:27 | | Ended | 2024-12-13 07:37:28 | | Duration | 0:00:00.638103 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED TestAllInputs::test_constraints 0:00:00.707337

| Started | 2024-12-13 07:37:28 | | Ended | 2024-12-13 07:37:28 | | Duration | 0:00:00.707337 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED TestAllInputs::test_constraint_union_variant_checking 0:00:00.751209

| Started | 2024-12-13 07:37:28 | | Ended | 2024-12-13 07:37:29 | | Duration | 0:00:00.751209 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED TestAllInputs::test_return_malformed_constraint 0:00:00.520349

| Started | 2024-12-13 07:37:29 | | Ended | 2024-12-13 07:37:29 | | Duration | 0:00:00.520349 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED TestAllInputs::test_use_malformed_constraint 0:00:00.001717

| Started | 2024-12-13 07:37:29 | | Ended | 2024-12-13 07:37:30 | | Duration | 0:00:00.001717 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stderr call
[2024-12-13T15:37:30Z ERROR baml\_runtime::tracing] Error: a: Failed to evaluate assert: Error evaluating constraint: unknown method: object has no method named length (in \<string\>:1)

Teardown

PASSED TestAllInputs::test_single_class 0:00:00.640746

| Started | 2024-12-13 07:37:30 | | Ended | 2024-12-13 07:37:30 | | Duration | 0:00:00.640746 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED TestAllInputs::test_multiple_args 0:00:00.677625

| Started | 2024-12-13 07:37:30 | | Ended | 2024-12-13 07:37:31 | | Duration | 0:00:00.677625 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED TestAllInputs::test_single_enum_list 0:00:00.391208

| Started | 2024-12-13 07:37:31 | | Ended | 2024-12-13 07:37:31 | | Duration | 0:00:00.391208 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED TestAllInputs::test_single_float 0:00:00.338163

| Started | 2024-12-13 07:37:31 | | Ended | 2024-12-13 07:37:32 | | Duration | 0:00:00.338163 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED TestAllInputs::test_single_int 0:00:00.449043

| Started | 2024-12-13 07:37:32 | | Ended | 2024-12-13 07:37:32 | | Duration | 0:00:00.449043 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED TestAllInputs::test_single_literal_int 0:00:00.307882

| Started | 2024-12-13 07:37:32 | | Ended | 2024-12-13 07:37:32 | | Duration | 0:00:00.307882 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED TestAllInputs::test_single_literal_bool 0:00:00.306098

| Started | 2024-12-13 07:37:32 | | Ended | 2024-12-13 07:37:33 | | Duration | 0:00:00.306098 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED TestAllInputs::test_single_literal_string 0:00:00.342438

| Started | 2024-12-13 07:37:33 | | Ended | 2024-12-13 07:37:33 | | Duration | 0:00:00.342438 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED TestAllInputs::test_class_with_literal_prop 0:00:00.574151

| Started | 2024-12-13 07:37:33 | | Ended | 2024-12-13 07:37:34 | | Duration | 0:00:00.574151 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED TestAllInputs::test_literal_classs_with_literal_union_prop 0:00:01.234555

| Started | 2024-12-13 07:37:34 | | Ended | 2024-12-13 07:37:35 | | Duration | 0:00:01.234555 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED TestAllInputs::test_single_map_string_to_string 0:00:00.619017

| Started | 2024-12-13 07:37:35 | | Ended | 2024-12-13 07:37:35 | | Duration | 0:00:00.619017 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED TestAllInputs::test_single_map_string_to_class 0:00:00.525969

| Started | 2024-12-13 07:37:35 | | Ended | 2024-12-13 07:37:36 | | Duration | 0:00:00.525969 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED TestAllInputs::test_single_map_string_to_map 0:00:05.381838

| Started | 2024-12-13 07:37:36 | | Ended | 2024-12-13 07:37:41 | | Duration | 0:00:05.381838 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED TestAllInputs::test_enum_key_in_map 0:00:00.725482

| Started | 2024-12-13 07:37:41 | | Ended | 2024-12-13 07:37:42 | | Duration | 0:00:00.725482 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED TestAllInputs::test_literal_string_union_key_in_map 0:00:00.944775

| Started | 2024-12-13 07:37:42 | | Ended | 2024-12-13 07:37:43 | | Duration | 0:00:00.944775 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED TestAllInputs::test_single_literal_string_key_in_map 0:00:01.689217

| Started | 2024-12-13 07:37:43 | | Ended | 2024-12-13 07:37:45 | | Duration | 0:00:01.689217 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_should_work_for_all_outputs 0:00:09.106303

| Started | 2024-12-13 07:37:45 | | Ended | 2024-12-13 07:37:54 | | Duration | 0:00:09.106303 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_should_work_with_image_url 0:00:01.247719

| Started | 2024-12-13 07:37:54 | | Ended | 2024-12-13 07:37:55 | | Duration | 0:00:01.247719 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_should_work_with_image_list 0:00:01.860304

| Started | 2024-12-13 07:37:55 | | Ended | 2024-12-13 07:37:57 | | Duration | 0:00:01.860304 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_should_work_with_vertex 0:00:09.442870

| Started | 2024-12-13 07:37:57 | | Ended | 2024-12-13 07:38:06 | | Duration | 0:00:09.442870 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_should_work_with_image_base64 0:00:01.575767

| Started | 2024-12-13 07:38:06 | | Ended | 2024-12-13 07:38:08 | | Duration | 0:00:01.575767 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_should_work_with_audio_base64 0:00:01.127755

| Started | 2024-12-13 07:38:08 | | Ended | 2024-12-13 07:38:09 | | Duration | 0:00:01.127755 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_should_work_with_audio_url 0:00:01.295709

| Started | 2024-12-13 07:38:09 | | Ended | 2024-12-13 07:38:10 | | Duration | 0:00:01.295709 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_works_with_retries2 0:00:02.286246

| Started | 2024-12-13 07:38:10 | | Ended | 2024-12-13 07:38:13 | | Duration | 0:00:02.286246 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stdout call
Expected error LLM call failed: LLMErrorResponse { client: "RetryClientExponential", model: None, prompt: Chat([RenderedChatMessage { role: "system", allow\_duplicate\_role: false, parts: [Text("Say a haiku")] }]), request\_options: {"model": String("gpt-3.5-turbo")}, start\_time: SystemTime { tv\_sec: 1734104292, tv\_nsec: 898945000 }, latency: 213.33125ms, message: "Request failed: https://api.openai.com/v1/chat/completions\n{\n \"error\": {\n \"message\": \"Incorrect API key provided: blahh. You can find your API key at https://platform.openai.com/account/api-keys.\",\n \"type\": \"invalid\_request\_error\",\n \"param\": null,\n \"code\": \"invalid\_api\_key\"\n }\n}\n", code: InvalidAuthentication }

Teardown

PASSED test_works_with_fallbacks 0:00:01.883552

| Started | 2024-12-13 07:38:13 | | Ended | 2024-12-13 07:38:14 | | Duration | 0:00:01.883552 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_works_with_failing_azure_fallback 0:00:00.034322

| Started | 2024-12-13 07:38:14 | | Ended | 2024-12-13 07:38:15 | | Duration | 0:00:00.034322 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_claude 0:00:01.074194

| Started | 2024-12-13 07:38:15 | | Ended | 2024-12-13 07:38:16 | | Duration | 0:00:01.074194 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_gemini 0:00:08.252263

| Started | 2024-12-13 07:38:16 | | Ended | 2024-12-13 07:38:24 | | Duration | 0:00:08.252263 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stdout call
LLM output from Gemini: Dr. Pete Pepper wasn't a medical doctor, no matter what his name tag proclaimed. He was a botanist, specializing in, of all things, peppers. Not the bell peppers you'd find in your salad, but their wilder, spicier cousins. His small shop, tucked between a bakery and a vintage clothing store, was a haven for chili heads. One afternoon, a young woman named Lily hurried in, desperation etched on her face. "Dr. Pepper? Please, you have to help!" Dr. Pepper, a portly man with a pepper-shaped birthmark on his cheek, peered at her over his spectacles. "What seems to be the trouble?" Lily held out a withered plant. "This," she whispered, "is Beatrice. She's a Carolina Reaper, and she's… well, she's dying!" Dr. Pepper examined the plant. "Hmm, overwatering, I see. And a touch of aphid infestation. Don't worry, we can fix this." For the next hour, Lily watched, captivated, as Dr. Pepper treated Beatrice with a gentle touch and a pharmacist's precision, mixing homemade concoctions and whispering words of encouragement. When he finished, he smiled. "There you go. She'll be right as rain in no time." Lily beamed, relief flooding her features. "Thank you, Dr. Pepper! Beatrice is very special to me." Dr. Pepper chuckled. "They all are, my dear. Each pepper has its own story, its own unique fire." From then on, Lily became a regular, bringing Dr. Pepper fresh-baked cookies shaped like chili peppers and listening to his tales of pepper expeditions around the world. And Beatrice? She thrived, producing the hottest, most delicious Carolina Reapers anyone had ever tasted – a testament to the magic touch of the one and only Dr. Pepper.

Teardown

PASSED test_gemini_streaming 0:00:09.945069

| Started | 2024-12-13 07:38:24 | | Ended | 2024-12-13 07:38:34 | | Duration | 0:00:09.945069 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stdout call
LLM output from Gemini: Dr. Pete Pepper wasn't a doctor of medicine, but everyone called him "Doc" anyway. He owned the Pepper Place Soda Fountain, a cozy shop on Main Street where the cherry-red booths and checkered floor had seen generations of gossip, first dates, and ice cream dreams. Doc, with his twinkling eyes and a handlebar mustache that seemed to hold a lifetime of stories, wasn't just a soda jerk, he was a craftsman. He concocted his own syrups, each a secret recipe passed down from his grandfather: sarsaparilla with a hint of nutmeg, creamy vanilla bean, and his most popular, a spicy, effervescent blend he called "Doc's Pep." One sweltering afternoon, a young girl named Lily sat forlornly at the counter. She picked at her vanilla ice cream, her face as droopy as a wilted daisy. "What's got you down, little one?" Doc asked, drying a glass. "It's my Pa," Lily sighed, "He's been working too hard. He needs a pep in his step, but nothing seems to work." Doc's eyes twinkled. He knew just the thing. He mixed together a tall glass of his special soda, adding a scoop of vanilla ice cream and a splash of Lily’s favorite cherry syrup. Lily brought the drink to her Pa, a tired construction worker with kind eyes. He took a sip, and his face lit up like a Christmas tree. "Now that's what I call a pick-me-up!" he exclaimed. From that day on, the drink became a local legend. People came from miles around to try "Lily's Pep," a drink that tasted like sunshine and hope. Doc's Soda Fountain, overflowing with laughter and the sweet scent of success, became a place where people didn't just come to quench their thirst, but to find a little bit of joy, all thanks to a special girl, a caring soda jerk, and a drink that truly put the pep back in their step.

Teardown

PASSED test_aws 0:00:02.873132

| Started | 2024-12-13 07:38:34 | | Ended | 2024-12-13 07:38:37 | | Duration | 0:00:02.873132 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_openai_shorthand 0:00:16.978485

| Started | 2024-12-13 07:38:37 | | Ended | 2024-12-13 07:38:54 | | Duration | 0:00:16.978485 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_openai_shorthand_streaming 0:00:20.264603

| Started | 2024-12-13 07:38:55 | | Ended | 2024-12-13 07:39:15 | | Duration | 0:00:20.264603 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured log call
WARNING asyncio:base\_events.py:1982 Executing \<Task pending name='Task-44' coro=\<BamlStream.\_\_drive\_to\_completion() running at /Users/vbv/repos/gloo-lang/engine/language\_client\_python/python\_src/baml\_py/stream.py:48\> wait\_for=\<Future pending cb=[\<builtins.PyDoneCallback object at 0x11a41f350\>(), Task.task\_wakeup()] created at /opt/homebrew/Cellar/[email protected]/3.12.4/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/base\_events.py:449\> cb=[\_run\_until\_complete\_cb() at /opt/homebrew/Cellar/[email protected]/3.12.4/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/base\_events.py:182] created at /opt/homebrew/Cellar/[email protected]/3.12.4/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/runners.py:100\> took 0.418 seconds

Teardown

PASSED test_anthropic_shorthand 0:00:03.639071

| Started | 2024-12-13 07:39:15 | | Ended | 2024-12-13 07:39:18 | | Duration | 0:00:03.639071 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_anthropic_shorthand_streaming 0:00:04.997820

| Started | 2024-12-13 07:39:18 | | Ended | 2024-12-13 07:39:23 | | Duration | 0:00:04.997820 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured log call
WARNING asyncio:base\_events.py:1982 Executing \<Handle \<builtins.CheckedCompletor object at 0x11a41f390\>(\<Future finis...events.py:449\>, \<built-in met...t 0x1193fc5e0\>, \<baml\_py.baml...t 0x11a58b5a0\>)\> took 0.149 seconds

Teardown

PASSED test_fallback_to_shorthand 0:00:01.786834

| Started | 2024-12-13 07:39:23 | | Ended | 2024-12-13 07:39:25 | | Duration | 0:00:01.786834 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_aws_streaming 0:00:01.634205

| Started | 2024-12-13 07:39:25 | | Ended | 2024-12-13 07:39:27 | | Duration | 0:00:01.634205 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_streaming 0:00:03.029945

| Started | 2024-12-13 07:39:27 | | Ended | 2024-12-13 07:39:30 | | Duration | 0:00:03.029945 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_streaming_uniterated 0:00:03.856884

| Started | 2024-12-13 07:39:30 | | Ended | 2024-12-13 07:39:34 | | Duration | 0:00:03.856884 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_streaming_sync 0:00:04.308863

| Started | 2024-12-13 07:39:34 | | Ended | 2024-12-13 07:39:38 | | Duration | 0:00:04.308863 | | Markers | | | Fixtures | event_loop_policy cleanup |

Setup

Call

Teardown

PASSED test_streaming_uniterated_sync 0:00:02.649873

| Started | 2024-12-13 07:39:38 | | Ended | 2024-12-13 07:39:41 | | Duration | 0:00:02.649873 | | Markers | | | Fixtures | event_loop_policy cleanup |

Setup

Call

Teardown

PASSED test_streaming_claude 0:00:02.280925

| Started | 2024-12-13 07:39:41 | | Ended | 2024-12-13 07:39:43 | | Duration | 0:00:02.280925 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stdout call
msgs: Here's a haiku about Mt. Rainier: Rainier towers high Ancient glacier-crowned giant Watches Puget Sound final: Here's a haiku about Mt. Rainier: Rainier towers high Ancient glacier-crowned giant Watches Puget Sound

Teardown

PASSED test_streaming_gemini 0:00:10.312743

| Started | 2024-12-13 07:39:43 | | Ended | 2024-12-13 07:39:53 | | Duration | 0:00:10.312743 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stdout call
msgs: Dr. Pepper wasn't actually a doctor, though many in his small town jokingly called him that. His real name was Edward, but everyone knew him by his peculiar habit of always having a can of Dr Pepper in hand. He wasn't addicted, not really, but the caramel-colored fizz seemed to fuel his days. Edward ran the local clock tower, a beautiful, if slightly crooked, structure that loomed over their quaint town square. Every day, rain or shine, he climbed its winding steps, his trusty Dr Pepper accompanying him, to wind the ancient mechanism and ensure the town kept ticking. One day, a young girl named Lily started visiting him. Her eyes, wide with wonder, would follow Edward's every move as he oiled gears and tightened springs. Lily, much like the town, seemed drawn to Edward's quiet dedication, his gentle humming as he worked, and yes, even his ever-present Dr Pepper. One particularly dreary afternoon, Lily arrived at the clock tower with a worried frown. "Mr. Edward," she began, her voice small, "the clock, it seems sad today. It doesn't chime like it used to." Edward chuckled, taking a sip from his can. He always told Lily the clock talked to him, that it whispered its woes through creaks and groans. To Lily, who looked at him with the unshakeable trust only a child could possess, this wasn't a matter of fantasy, it was simply fact. Together, they examined the clock's giant pendulum, its swing sluggish and slow. "Ah," Edward said finally, pointing to a worn-out spring, "Looks like our friend needs a little pick-me-up, just like you sometimes need a good night's sleep." As Edward replaced the spring, Lily, much like her mother did every week, offered him a freshly baked cookie. This time, however, alongside it sat a can of Dr Pepper, its condensation forming a perfect, tiny halo around the base. "For when the clock makes you thirsty," Lily said with a shy smile. Edward's heart, much like the revitalized clock, felt a warmth spread through it, a feeling as comforting and familiar as his favorite drink. He realized then that perhaps he wasn't just keeping time in this town, but also making memories, one can of Dr Pepper and one chime at a time. final: Dr. Pepper wasn't actually a doctor, though many in his small town jokingly called him that. His real name was Edward, but everyone knew him by his peculiar habit of always having a can of Dr Pepper in hand. He wasn't addicted, not really, but the caramel-colored fizz seemed to fuel his days. Edward ran the local clock tower, a beautiful, if slightly crooked, structure that loomed over their quaint town square. Every day, rain or shine, he climbed its winding steps, his trusty Dr Pepper accompanying him, to wind the ancient mechanism and ensure the town kept ticking. One day, a young girl named Lily started visiting him. Her eyes, wide with wonder, would follow Edward's every move as he oiled gears and tightened springs. Lily, much like the town, seemed drawn to Edward's quiet dedication, his gentle humming as he worked, and yes, even his ever-present Dr Pepper. One particularly dreary afternoon, Lily arrived at the clock tower with a worried frown. "Mr. Edward," she began, her voice small, "the clock, it seems sad today. It doesn't chime like it used to." Edward chuckled, taking a sip from his can. He always told Lily the clock talked to him, that it whispered its woes through creaks and groans. To Lily, who looked at him with the unshakeable trust only a child could possess, this wasn't a matter of fantasy, it was simply fact. Together, they examined the clock's giant pendulum, its swing sluggish and slow. "Ah," Edward said finally, pointing to a worn-out spring, "Looks like our friend needs a little pick-me-up, just like you sometimes need a good night's sleep." As Edward replaced the spring, Lily, much like her mother did every week, offered him a freshly baked cookie. This time, however, alongside it sat a can of Dr Pepper, its condensation forming a perfect, tiny halo around the base. "For when the clock makes you thirsty," Lily said with a shy smile. Edward's heart, much like the revitalized clock, felt a warmth spread through it, a feeling as comforting and familiar as his favorite drink. He realized then that perhaps he wasn't just keeping time in this town, but also making memories, one can of Dr Pepper and one chime at a time.

Teardown

PASSED test_tracing_async_only 0:00:06.292172

| Started | 2024-12-13 07:39:53 | | Ended | 2024-12-13 07:40:00 | | Duration | 0:00:06.292172 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stdout call
STATS TraceStats(failed=0, started=15, finalized=15, submitted=15, sent=15, done=15)

Teardown

PASSED test_tracing_sync 0:00:00.000395

| Started | 2024-12-13 07:40:00 | | Ended | 2024-12-13 07:40:00 | | Duration | 0:00:00.000395 | | Markers | | | Fixtures | event_loop_policy cleanup |

Setup

Call

Teardown

PASSED test_tracing_thread_pool 0:00:01.502396

| Started | 2024-12-13 07:40:00 | | Ended | 2024-12-13 07:40:01 | | Duration | 0:00:01.502396 | | Markers | | | Fixtures | event_loop_policy cleanup |

Setup

Call

Teardown

PASSED test_tracing_thread_pool_async 0:00:13.928513

| Started | 2024-12-13 07:40:01 | | Ended | 2024-12-13 07:40:15 | | Duration | 0:00:13.928513 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_tracing_async_gather 0:00:01.500037

| Started | 2024-12-13 07:40:15 | | Ended | 2024-12-13 07:40:17 | | Duration | 0:00:01.500037 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_tracing_async_gather_top_level 0:00:01.459186

| Started | 2024-12-13 07:40:17 | | Ended | 2024-12-13 07:40:18 | | Duration | 0:00:01.459186 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_dynamic 0:00:00.787106

| Started | 2024-12-13 07:40:18 | | Ended | 2024-12-13 07:40:19 | | Duration | 0:00:00.787106 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stdout call
{'name': 'Harrison', 'hair\_color': \<Color.BLACK: 'BLACK'\>, 'last\_name': [], 'height': 1.83, 'hobbies': [\<Hobby.SPORTS: 'SPORTS'\>]}

Teardown

PASSED test_dynamic_class_output 0:00:01.239744

| Started | 2024-12-13 07:40:19 | | Ended | 2024-12-13 07:40:20 | | Duration | 0:00:01.239744 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stdout call
[] {"hair\_color":"black"}

Teardown

PASSED test_dynamic_class_nested_output_no_stream 0:00:00.830211

| Started | 2024-12-13 07:40:20 | | Ended | 2024-12-13 07:40:21 | | Duration | 0:00:00.830211 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stdout call
{"name":{"first\_name":"Mark","last\_name":"Gonzalez","middle\_name":null},"address":null,"hair\_color":"black","height":6.0}

Teardown

PASSED test_dynamic_class_nested_output_stream 0:00:00.755168

| Started | 2024-12-13 07:40:21 | | Ended | 2024-12-13 07:40:22 | | Duration | 0:00:00.755168 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stdout call
streamed name=None hair\_color=None streamed {'name': None, 'hair\_color': None} streamed name=None hair\_color=None streamed {'name': None, 'hair\_color': None} streamed name=None hair\_color=None streamed {'name': None, 'hair\_color': None} streamed name=None hair\_color=None streamed {'name': None, 'hair\_color': None} streamed name=None hair\_color=None streamed {'name': None, 'hair\_color': None} streamed name=None hair\_color=None streamed {'name': None, 'hair\_color': None} streamed name={'first\_name': None, 'last\_name': None} hair\_color=None streamed {'name': {'first\_name': None, 'last\_name': None}, 'hair\_color': None} streamed name={'first\_name': None, 'last\_name': None} hair\_color=None streamed {'name': {'first\_name': None, 'last\_name': None}, 'hair\_color': None} streamed name={'first\_name': None, 'last\_name': None} hair\_color=None streamed {'name': {'first\_name': None, 'last\_name': None}, 'hair\_color': None} streamed name={'first\_name': None, 'last\_name': None} hair\_color=None streamed {'name': {'first\_name': None, 'last\_name': None}, 'hair\_color': None} streamed name={'first\_name': None, 'last\_name': None} hair\_color=None streamed {'name': {'first\_name': None, 'last\_name': None}, 'hair\_color': None} streamed name={'first\_name': None, 'last\_name': None} hair\_color=None streamed {'name': {'first\_name': None, 'last\_name': None}, 'hair\_color': None} streamed name={'first\_name': '', 'last\_name': None} hair\_color=None streamed {'name': {'first\_name': '', 'last\_name': None}, 'hair\_color': None} streamed name={'first\_name': 'Mark', 'last\_name': None} hair\_color=None streamed {'name': {'first\_name': 'Mark', 'last\_name': None}, 'hair\_color': None} streamed name={'first\_name': 'Mark', 'last\_name': None} hair\_color=None streamed {'name': {'first\_name': 'Mark', 'last\_name': None}, 'hair\_color': None} streamed name={'first\_name': 'Mark', 'last\_name': None} hair\_color=None streamed {'name': {'first\_name': 'Mark', 'last\_name': None}, 'hair\_color': None} streamed name={'first\_name': 'Mark', 'last\_name': None} hair\_color=None streamed {'name': {'first\_name': 'Mark', 'last\_name': None}, 'hair\_color': None} streamed name={'first\_name': 'Mark', 'last\_name': None} hair\_color=None streamed {'name': {'first\_name': 'Mark', 'last\_name': None}, 'hair\_color': None} streamed name={'first\_name': 'Mark', 'last\_name': None} hair\_color=None streamed {'name': {'first\_name': 'Mark', 'last\_name': None}, 'hair\_color': None} streamed name={'first\_name': 'Mark', 'last\_name': None} hair\_color=None streamed {'name': {'first\_name': 'Mark', 'last\_name': None}, 'hair\_color': None} streamed name={'first\_name': 'Mark', 'last\_name': ''} hair\_color=None streamed {'name': {'first\_name': 'Mark', 'last\_name': ''}, 'hair\_color': None} streamed name={'first\_name': 'Mark', 'last\_name': 'G'} hair\_color=None streamed {'name': {'first\_name': 'Mark', 'last\_name': 'G'}, 'hair\_color': None} streamed name={'first\_name': 'Mark', 'last\_name': 'Gonz'} hair\_color=None streamed {'name': {'first\_name': 'Mark', 'last\_name': 'Gonz'}, 'hair\_color': None} streamed name={'first\_name': 'Mark', 'last\_name': 'Gonzalez'} hair\_color=None streamed {'name': {'first\_name': 'Mark', 'last\_name': 'Gonzalez'}, 'hair\_color': None} streamed name={'first\_name': 'Mark', 'last\_name': 'Gonzalez'} hair\_color=None streamed {'name': {'first\_name': 'Mark', 'last\_name': 'Gonzalez'}, 'hair\_color': None} streamed name={'first\_name': 'Mark', 'last\_name': 'Gonzalez'} hair\_color=None streamed {'name': {'first\_name': 'Mark', 'last\_name': 'Gonzalez'}, 'hair\_color': None} streamed name={'first\_name': 'Mark', 'last\_name': 'Gonzalez'} hair\_color=None streamed {'name': {'first\_name': 'Mark', 'last\_name': 'Gonzalez'}, 'hair\_color': None} streamed name={'first\_name': 'Mark', 'last\_name': 'Gonzalez'} hair\_color=None streamed {'name': {'first\_name': 'Mark', 'last\_name': 'Gonzalez'}, 'hair\_color': None} streamed name={'first\_name': 'Mark', 'last\_name': 'Gonzalez'} hair\_color=None streamed {'name': {'first\_name': 'Mark', 'last\_name': 'Gonzalez'}, 'hair\_color': None} streamed name={'first\_name': 'Mark', 'last\_name': 'Gonzalez'} hair\_color=None streamed {'name': {'first\_name': 'Mark', 'last\_name': 'Gonzalez'}, 'hair\_color': None} streamed name={'first\_name': 'Mark', 'last\_name': 'Gonzalez'} hair\_color=None streamed {'name': {'first\_name': 'Mark', 'last\_name': 'Gonzalez'}, 'hair\_color': None} streamed name={'first\_name': 'Mark', 'last\_name': 'Gonzalez'} hair\_color=None streamed {'name': {'first\_name': 'Mark', 'last\_name': 'Gonzalez'}, 'hair\_color': None} streamed name={'first\_name': 'Mark', 'last\_name': 'Gonzalez'} hair\_color='' streamed {'name': {'first\_name': 'Mark', 'last\_name': 'Gonzalez'}, 'hair\_color': ''} streamed name={'first\_name': 'Mark', 'last\_name': 'Gonzalez'} hair\_color='black' streamed {'name': {'first\_name': 'Mark', 'last\_name': 'Gonzalez'}, 'hair\_color': 'black'} streamed name={'first\_name': 'Mark', 'last\_name': 'Gonzalez'} hair\_color='black' streamed {'name': {'first\_name': 'Mark', 'last\_name': 'Gonzalez'}, 'hair\_color': 'black'} streamed name={'first\_name': 'Mark', 'last\_name': 'Gonzalez'} hair\_color='black' streamed {'name': {'first\_name': 'Mark', 'last\_name': 'Gonzalez'}, 'hair\_color': 'black'} streamed name={'first\_name': 'Mark', 'last\_name': 'Gonzalez'} hair\_color='black' streamed {'name': {'first\_name': 'Mark', 'last\_name': 'Gonzalez'}, 'hair\_color': 'black'} streamed name={'first\_name': 'Mark', 'last\_name': 'Gonzalez'} hair\_color='black' streamed {'name': {'first\_name': 'Mark', 'last\_name': 'Gonzalez'}, 'hair\_color': 'black'} {"name":{"first\_name":"Mark","last\_name":"Gonzalez"},"hair\_color":"black"}

Teardown

PASSED test_stream_dynamic_class_output 0:00:00.514480

| Started | 2024-12-13 07:40:22 | | Ended | 2024-12-13 07:40:22 | | Duration | 0:00:00.514480 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stdout call
[] streamed {'hair\_color': '{'} streamed {'hair\_color': '{'} streamed {'hair\_color': '{\n "'} streamed {'hair\_color': '{\n "hair'} streamed {'hair\_color': '{\n "hair\_color'} streamed {'hair\_color': '{\n "hair\_color":'} streamed {'hair\_color': ''} streamed {'hair\_color': 'black'} streamed {'hair\_color': 'black'} streamed {'hair\_color': 'black'} streamed {'hair\_color': 'black'} streamed {'hair\_color': 'black'} streamed {'hair\_color': 'black'} final hair\_color='black' final {'hair\_color': 'black'} final {"hair\_color":"black"}

Teardown

PASSED test_dynamic_inputs_list2 0:00:01.167632

| Started | 2024-12-13 07:40:22 | | Ended | 2024-12-13 07:40:23 | | Duration | 0:00:01.167632 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_dynamic_types_new_enum 0:00:01.248098

| Started | 2024-12-13 07:40:23 | | Ended | 2024-12-13 07:40:25 | | Duration | 0:00:01.248098 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_dynamic_types_existing_enum 0:00:00.879871

| Started | 2024-12-13 07:40:25 | | Ended | 2024-12-13 07:40:26 | | Duration | 0:00:00.879871 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_dynamic_literals 0:00:00.815644

| Started | 2024-12-13 07:40:26 | | Ended | 2024-12-13 07:40:26 | | Duration | 0:00:00.815644 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_dynamic_inputs_list 0:00:01.074834

| Started | 2024-12-13 07:40:26 | | Ended | 2024-12-13 07:40:27 | | Duration | 0:00:01.074834 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_dynamic_output_map 0:00:00.733588

| Started | 2024-12-13 07:40:27 | | Ended | 2024-12-13 07:40:28 | | Duration | 0:00:00.733588 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stdout call
[] final hair\_color='black' attributes={'height': '6 feet', 'eye\_color': 'blue', 'facial\_hair': 'beard'} final {'hair\_color': 'black', 'attributes': {'height': '6 feet', 'eye\_color': 'blue', 'facial\_hair': 'beard'}} final {"hair\_color":"black","attributes":{"height":"6 feet","eye\_color":"blue","facial\_hair":"beard"}}

Teardown

PASSED test_dynamic_output_union 0:00:02.036545

| Started | 2024-12-13 07:40:28 | | Ended | 2024-12-13 07:40:30 | | Duration | 0:00:02.036545 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stdout call
[] final hair\_color='black' attributes={'eye\_color': 'blue', 'facial\_hair': 'beard', 'age': '30 years old'} height={'feet': 6.0, 'inches': None} final {'hair\_color': 'black', 'attributes': {'eye\_color': 'blue', 'facial\_hair': 'beard', 'age': '30 years old'}, 'height': {'feet': 6.0, 'inches': None}} final {"hair\_color":"black","attributes":{"eye\_color":"blue","facial\_hair":"beard","age":"30 years old"},"height":{"feet":6.0,"inches":null}} final hair\_color='black' attributes={'eye\_color': 'blue', 'facial\_hair': 'beard', 'age': '30'} height={'meters': 1.8} final {'hair\_color': 'black', 'attributes': {'eye\_color': 'blue', 'facial\_hair': 'beard', 'age': '30'}, 'height': {'meters': 1.8}} final {"hair\_color":"black","attributes":{"eye\_color":"blue","facial\_hair":"beard","age":"30"},"height":{"meters":1.8}}

Teardown

PASSED test_nested_class_streaming 0:00:03.660840

| Started | 2024-12-13 07:40:30 | | Ended | 2024-12-13 07:40:34 | | Duration | 0:00:03.660840 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stdout call
streamed {'prop1': None, 'prop2': None} streamed {'prop1': None, 'prop2': None} streamed {'prop1': None, 'prop2': None} streamed {'prop1': None, 'prop2': None} streamed {'prop1': None, 'prop2': None} streamed {'prop1': None, 'prop2': None} streamed {'prop1': None, 'prop2': None} streamed {'prop1': None, 'prop2': None} streamed {'prop1': None, 'prop2': None} streamed {'prop1': None, 'prop2': None} streamed {'prop1': None, 'prop2': None} streamed {'prop1': None, 'prop2': None} streamed {'prop1': None, 'prop2': None} streamed {'prop1': None, 'prop2': None} streamed {'prop1': None, 'prop2': None} streamed {'prop1': None, 'prop2': None} streamed {'prop1': None, 'prop2': None} streamed {'prop1': None, 'prop2': None} streamed {'prop1': None, 'prop2': None} streamed {'prop1': None, 'prop2': None} streamed {'prop1': None, 'prop2': None} streamed {'prop1': None, 'prop2': None} streamed {'prop1': None, 'prop2': None} streamed {'prop1': None, 'prop2': None} streamed {'prop1': None, 'prop2': None} streamed {'prop1': '', 'prop2': None} streamed {'prop1': 'Hello', 'prop2': None} streamed {'prop1': 'Hello', 'prop2': None} streamed {'prop1': 'Hello', 'prop2': None} streamed {'prop1': 'Hello', 'prop2': None} streamed {'prop1': 'Hello', 'prop2': None} streamed {'prop1': 'Hello', 'prop2': None} streamed {'prop1': 'Hello', 'prop2': None} streamed {'prop1': 'Hello', 'prop2': None} streamed {'prop1': 'Hello', 'prop2': {'prop1': None, 'prop2': None, 'inner': None}} streamed {'prop1': 'Hello', 'prop2': {'prop1': None, 'prop2': None, 'inner': None}} streamed {'prop1': 'Hello', 'prop2': {'prop1': None, 'prop2': None, 'inner': None}} streamed {'prop1': 'Hello', 'prop2': {'prop1': None, 'prop2': None, 'inner': None}} streamed {'prop1': 'Hello', 'prop2': {'prop1': None, 'prop2': None, 'inner': None}} streamed {'prop1': 'Hello', 'prop2': {'prop1': None, 'prop2': None, 'inner': None}} streamed {'prop1': 'Hello', 'prop2': {'prop1': None, 'prop2': None, 'inner': None}} streamed {'prop1': 'Hello', 'prop2': {'prop1': '', 'prop2': None, 'inner': None}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': None, 'inner': None}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': None, 'inner': None}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': None, 'inner': None}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': None, 'inner': None}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': None, 'inner': None}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': None, 'inner': None}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': None, 'inner': None}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': None, 'inner': None}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': '', 'inner': None}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'fo', 'inner': None}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': None}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': None}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': None}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': None}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': None}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': None}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': None}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': None, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': None, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': None, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': None, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': None, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': None, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': None, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': None, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': None, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': None, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': None, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} streamed {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': None}}} final {'prop1': 'Hello', 'prop2': {'prop1': 'World', 'prop2': 'foobar', 'inner': {'prop2': 42, 'prop3': 3.14}}}

Teardown

PASSED test_dynamic_client_with_openai 0:00:00.391049

| Started | 2024-12-13 07:40:34 | | Ended | 2024-12-13 07:40:34 | | Duration | 0:00:00.391049 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_dynamic_client_with_vertex_json_str_creds 0:00:00.890284

| Started | 2024-12-13 07:40:34 | | Ended | 2024-12-13 07:40:35 | | Duration | 0:00:00.890284 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_dynamic_client_with_vertex_json_object_creds 0:00:01.153630

| Started | 2024-12-13 07:40:35 | | Ended | 2024-12-13 07:40:36 | | Duration | 0:00:01.153630 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_event_log_hook 0:00:01.496045

| Started | 2024-12-13 07:40:36 | | Ended | 2024-12-13 07:40:38 | | Duration | 0:00:01.496045 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stdout call
Event log hook1: Event log event BamlLogEvent { metadata: { event\_id: "583e4e49-bd71-4328-808c-c2ab71ab7d2f", parent\_id: None, root\_event\_id: "583e4e49-bd71-4328-808c-c2ab71ab7d2f" }, prompt: "[{ "role": "system", "content": [ { "text": "Return this value back to me: [\"a\", \"b\", \"c\"]" } ] } ]", raw\_output: "["a", "b", "c"]", parsed\_output: "["a", "b", "c"]", start\_time: "2024-12-13T15:40:37.185Z" }

Teardown

PASSED test_aws_bedrock 0:00:03.226659

| Started | 2024-12-13 07:40:38 | | Ended | 2024-12-13 07:40:41 | | Duration | 0:00:03.226659 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stdout call
unstreamed The old geologist, Dr. Maria, had spent her entire career studying the ancient rocks of the Appalachian Mountains. She had seen it all - the layers of sediment, the fossilized creatures, the veins of precious metals. But nothing had ever prepared her for the discovery she was about to make. As she climbed up the rocky slope, her eyes scanned the ground for any sign of the unusual rock formation she had heard rumors about. It was said to be a rare type of quartz, one streamed '\n\n' streamed '\n\nThe' streamed '\n\nThe old' streamed '\n\nThe old ge' streamed '\n\nThe old geologist' streamed '\n\nThe old geologist,' streamed '\n\nThe old geologist, Emma' streamed '\n\nThe old geologist, Emma,' streamed '\n\nThe old geologist, Emma, had' streamed '\n\nThe old geologist, Emma, had spent' streamed '\n\nThe old geologist, Emma, had spent her' streamed '\n\nThe old geologist, Emma, had spent her entire' streamed '\n\nThe old geologist, Emma, had spent her entire career' streamed '\n\nThe old geologist, Emma, had spent her entire career studying' streamed '\n\nThe old geologist, Emma, had spent her entire career studying the' streamed '\n\nThe old geologist, Emma, had spent her entire career studying the ancient' streamed '\n\nThe old geologist, Emma, had spent her entire career studying the ancient rocks' streamed '\n\nThe old geologist, Emma, had spent her entire career studying the ancient rocks of' streamed '\n\nThe old geologist, Emma, had spent her entire career studying the ancient rocks of the' streamed '\n\nThe old geologist, Emma, had spent her entire career studying the ancient rocks of the Appalachian' streamed 'geologist, Emma, had spent her entire career studying the ancient rocks of the Appalachian Mountains' streamed 'eologist, Emma, had spent her entire career studying the ancient rocks of the Appalachian Mountains.' streamed 'gist, Emma, had spent her entire career studying the ancient rocks of the Appalachian Mountains. She' streamed ', Emma, had spent her entire career studying the ancient rocks of the Appalachian Mountains. She had' streamed 'a, had spent her entire career studying the ancient rocks of the Appalachian Mountains. She had seen' streamed 'had spent her entire career studying the ancient rocks of the Appalachian Mountains. She had seen it' streamed 'spent her entire career studying the ancient rocks of the Appalachian Mountains. She had seen it all' streamed 'ent her entire career studying the ancient rocks of the Appalachian Mountains. She had seen it all -' streamed 'her entire career studying the ancient rocks of the Appalachian Mountains. She had seen it all - the' streamed 'ire career studying the ancient rocks of the Appalachian Mountains. She had seen it all - the fossil' streamed 'career studying the ancient rocks of the Appalachian Mountains. She had seen it all - the fossilized' streamed ' studying the ancient rocks of the Appalachian Mountains. She had seen it all - the fossilized trees' streamed 'studying the ancient rocks of the Appalachian Mountains. She had seen it all - the fossilized trees,' streamed 'ying the ancient rocks of the Appalachian Mountains. She had seen it all - the fossilized trees, the' streamed 'e ancient rocks of the Appalachian Mountains. She had seen it all - the fossilized trees, the quartz' streamed ' rocks of the Appalachian Mountains. She had seen it all - the fossilized trees, the quartz crystals' streamed 'rocks of the Appalachian Mountains. She had seen it all - the fossilized trees, the quartz crystals,' streamed 's of the Appalachian Mountains. She had seen it all - the fossilized trees, the quartz crystals, the' streamed 'he Appalachian Mountains. She had seen it all - the fossilized trees, the quartz crystals, the veins' streamed 'Appalachian Mountains. She had seen it all - the fossilized trees, the quartz crystals, the veins of' streamed 'achian Mountains. She had seen it all - the fossilized trees, the quartz crystals, the veins of gold' streamed 'chian Mountains. She had seen it all - the fossilized trees, the quartz crystals, the veins of gold.' streamed 'n Mountains. She had seen it all - the fossilized trees, the quartz crystals, the veins of gold. But' streamed 'ins. She had seen it all - the fossilized trees, the quartz crystals, the veins of gold. But nothing' streamed 'he had seen it all - the fossilized trees, the quartz crystals, the veins of gold. But nothing could' streamed 'd seen it all - the fossilized trees, the quartz crystals, the veins of gold. But nothing could have' streamed ' all - the fossilized trees, the quartz crystals, the veins of gold. But nothing could have prepared' streamed ' - the fossilized trees, the quartz crystals, the veins of gold. But nothing could have prepared her' streamed 'he fossilized trees, the quartz crystals, the veins of gold. But nothing could have prepared her for' streamed 'ssilized trees, the quartz crystals, the veins of gold. But nothing could have prepared her for what' streamed 'ized trees, the quartz crystals, the veins of gold. But nothing could have prepared her for what she' streamed ' trees, the quartz crystals, the veins of gold. But nothing could have prepared her for what she was' streamed ', the quartz crystals, the veins of gold. But nothing could have prepared her for what she was about' streamed 'he quartz crystals, the veins of gold. But nothing could have prepared her for what she was about to' streamed ' crystals, the veins of gold. But nothing could have prepared her for what she was about to discover' streamed 'ystals, the veins of gold. But nothing could have prepared her for what she was about to discover.\n\n' streamed 'tals, the veins of gold. But nothing could have prepared her for what she was about to discover.\n\nAs' streamed ', the veins of gold. But nothing could have prepared her for what she was about to discover.\n\nAs she' streamed ' veins of gold. But nothing could have prepared her for what she was about to discover.\n\nAs she made' streamed 'ns of gold. But nothing could have prepared her for what she was about to discover.\n\nAs she made her' streamed 'f gold. But nothing could have prepared her for what she was about to discover.\n\nAs she made her way' streamed 'But nothing could have prepared her for what she was about to discover.\n\nAs she made her way through' streamed 'nothing could have prepared her for what she was about to discover.\n\nAs she made her way through the' streamed 'g could have prepared her for what she was about to discover.\n\nAs she made her way through the dense' streamed ' have prepared her for what she was about to discover.\n\nAs she made her way through the dense forest' streamed 'have prepared her for what she was about to discover.\n\nAs she made her way through the dense forest,' streamed ' prepared her for what she was about to discover.\n\nAs she made her way through the dense forest, her' streamed 'ared her for what she was about to discover.\n\nAs she made her way through the dense forest, her eyes' streamed 'for what she was about to discover.\n\nAs she made her way through the dense forest, her eyes scanning' streamed 'what she was about to discover.\n\nAs she made her way through the dense forest, her eyes scanning the' streamed 'e was about to discover.\n\nAs she made her way through the dense forest, her eyes scanning the ground' streamed 's about to discover.\n\nAs she made her way through the dense forest, her eyes scanning the ground for' streamed 'out to discover.\n\nAs she made her way through the dense forest, her eyes scanning the ground for any' streamed 'o discover.\n\nAs she made her way through the dense forest, her eyes scanning the ground for any sign' streamed 'iscover.\n\nAs she made her way through the dense forest, her eyes scanning the ground for any sign of' streamed ' she made her way through the dense forest, her eyes scanning the ground for any sign of interesting' streamed 'made her way through the dense forest, her eyes scanning the ground for any sign of interesting rock' streamed 'y through the dense forest, her eyes scanning the ground for any sign of interesting rock formations' streamed ' through the dense forest, her eyes scanning the ground for any sign of interesting rock formations,' streamed 'ugh the dense forest, her eyes scanning the ground for any sign of interesting rock formations, Emma' streamed 'ense forest, her eyes scanning the ground for any sign of interesting rock formations, Emma stumbled' streamed 'forest, her eyes scanning the ground for any sign of interesting rock formations, Emma stumbled upon' streamed 'rest, her eyes scanning the ground for any sign of interesting rock formations, Emma stumbled upon a' streamed ' eyes scanning the ground for any sign of interesting rock formations, Emma stumbled upon a peculiar' streamed 's scanning the ground for any sign of interesting rock formations, Emma stumbled upon a peculiar out' streamed 'canning the ground for any sign of interesting rock formations, Emma stumbled upon a peculiar outcro' streamed 'ng the ground for any sign of interesting rock formations, Emma stumbled upon a peculiar outcropping' streamed 'g the ground for any sign of interesting rock formations, Emma stumbled upon a peculiar outcropping.' streamed 'e ground for any sign of interesting rock formations, Emma stumbled upon a peculiar outcropping. The' streamed 'und for any sign of interesting rock formations, Emma stumbled upon a peculiar outcropping. The rock' streamed 'for any sign of interesting rock formations, Emma stumbled upon a peculiar outcropping. The rock was' streamed ' sign of interesting rock formations, Emma stumbled upon a peculiar outcropping. The rock was unlike' streamed 'n of interesting rock formations, Emma stumbled upon a peculiar outcropping. The rock was unlike any' streamed ' interesting rock formations, Emma stumbled upon a peculiar outcropping. The rock was unlike any she' streamed 'eresting rock formations, Emma stumbled upon a peculiar outcropping. The rock was unlike any she had' streamed 'ing rock formations, Emma stumbled upon a peculiar outcropping. The rock was unlike any she had seen' streamed 'k formations, Emma stumbled upon a peculiar outcropping. The rock was unlike any she had seen before' streamed 'formations, Emma stumbled upon a peculiar outcropping. The rock was unlike any she had seen before -' streamed 'ations, Emma stumbled upon a peculiar outcropping. The rock was unlike any she had seen before - its' streamed 'Emma stumbled upon a peculiar outcropping. The rock was unlike any she had seen before - its surface' streamed 'Emma stumbled upon a peculiar outcropping. The rock was unlike any she had seen before - its surface' streamed 'Emma stumbled upon a peculiar outcropping. The rock was unlike any she had seen before - its surface' streamed 'Emma stumbled upon a peculiar outcropping. The rock was unlike any she had seen before - its surface' streamed final The old geologist, Emma, had spent her entire career studying the ancient rocks of the Appalachian Mountains. She had seen it all - the fossilized trees, the quartz crystals, the veins of gold. But nothing could have prepared her for what she was about to discover. As she made her way through the dense forest, her eyes scanning the ground for any sign of interesting rock formations, Emma stumbled upon a peculiar outcropping. The rock was unlike any she had seen before - its surface

Teardown

PASSED test_aws_bedrock_invalid_region 0:00:00.005077

| Started | 2024-12-13 07:40:41 | | Ended | 2024-12-13 07:40:41 | | Duration | 0:00:00.005077 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_serialization_exception 0:00:00.414764

| Started | 2024-12-13 07:40:41 | | Ended | 2024-12-13 07:40:41 | | Duration | 0:00:00.414764 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stdout call
Exception message from test: \<ExceptionInfo BamlValidationError(message=Failed to parse LLM response: Failed to coerce value: \<root\>: Failed while parsing require...required field: nonce2, raw\_output=Hello there! How can I assist you today?, prompt=[chat] system: Say "hello there". ) tblen=2\>

Teardown

PASSED test_stream_serialization_exception 0:00:00.525969

| Started | 2024-12-13 07:40:41 | | Ended | 2024-12-13 07:40:42 | | Duration | 0:00:00.525969 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stdout call
streamed nonce=None nonce2=None streamed nonce=None nonce2=None streamed nonce=None nonce2=None streamed nonce=None nonce2=None streamed nonce=None nonce2=None streamed nonce=None nonce2=None streamed nonce=None nonce2=None streamed nonce=None nonce2=None streamed nonce=None nonce2=None streamed nonce=None nonce2=None streamed nonce=None nonce2=None streamed nonce=None nonce2=None streamed nonce=None nonce2=None Exception message: \<ExceptionInfo BamlValidationError(message=Failed to parse LLM response: Failed to coerce value: \<root\>: Failed while parsing require...required field: nonce2, raw\_output=Hello there! How can I assist you today?, prompt=[chat] system: Say "hello there". ) tblen=3\>

Teardown

PASSED test_stream2_serialization_exception 0:00:00.475911

| Started | 2024-12-13 07:40:42 | | Ended | 2024-12-13 07:40:42 | | Duration | 0:00:00.475911 | | Markers | | | Fixtures | event_loop_policy cleanup |

Setup

Call

Captured stdout call
streamed nonce=None nonce2=None nonce3=None streamed nonce=None nonce2=None nonce3=None streamed nonce=None nonce2=None nonce3=None streamed nonce=None nonce2=None nonce3=None streamed nonce=None nonce2=None nonce3=None streamed nonce=None nonce2=None nonce3=None streamed nonce=None nonce2=None nonce3=None streamed nonce=None nonce2=None nonce3=None streamed nonce=None nonce2=None nonce3=None streamed nonce=None nonce2=None nonce3=None streamed nonce=None nonce2=None nonce3=None streamed nonce=None nonce2=None nonce3=None streamed nonce=None nonce2=None nonce3=None Exception message: \<ExceptionInfo BamlValidationError(message=Failed to parse LLM response: Failed to coerce value: \<root\>: Failed while parsing require...g required field: nonce3, raw\_output=Hello there! How can I help you today?, prompt=[chat] system: Say "hello there". ) tblen=3\>

Teardown

PASSED test_descriptions 0:00:01.901301

| Started | 2024-12-13 07:40:42 | | Ended | 2024-12-13 07:40:44 | | Duration | 0:00:01.901301 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_caching 0:00:06.765143

| Started | 2024-12-13 07:40:44 | | Ended | 2024-12-13 07:40:51 | | Duration | 0:00:06.765143 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stdout call
Duration no caching: 3.484745979309082 Duration with caching: 3.279601812362671

Teardown

PASSED test_arg_exceptions 0:00:00.823517

| Started | 2024-12-13 07:40:51 | | Ended | 2024-12-13 07:40:52 | | Duration | 0:00:00.823517 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stderr call
[2024-12-13T15:40:51Z ERROR baml\_runtime::tracing] Error: input: Expected type String, got `Number(111)`

Teardown

PASSED test_map_as_param 0:00:00.001031

| Started | 2024-12-13 07:40:52 | | Ended | 2024-12-13 07:40:52 | | Duration | 0:00:00.001031 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stderr call
[2024-12-13T15:40:52Z ERROR baml\_runtime::tracing] Error: myMap: a: Expected map, got `String("b")`

Teardown

PASSED test_baml_validation_error_format 0:00:00.615744

| Started | 2024-12-13 07:40:52 | | Ended | 2024-12-13 07:40:53 | | Duration | 0:00:00.615744 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stdout call
Error: BamlValidationError(message=Failed to parse LLM response: Failed to coerce value: \<root\>: Failed while parsing required fields: missing=2, unparsed=0 - \<root\>: Missing required field: nonce - \<root\>: Missing required field: nonce2, raw\_output=Hello there! How can I assist you today?, prompt=[chat] system: Say "hello there". )

Teardown

PASSED test_no_stream_big_integer 0:00:01.048209

| Started | 2024-12-13 07:40:53 | | Ended | 2024-12-13 07:40:54 | | Duration | 0:00:01.048209 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_no_stream_object_with_numbers 0:00:00.662949

| Started | 2024-12-13 07:40:54 | | Ended | 2024-12-13 07:40:54 | | Duration | 0:00:00.662949 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_no_stream_compound_object 0:00:03.712300

| Started | 2024-12-13 07:40:54 | | Ended | 2024-12-13 07:40:58 | | Duration | 0:00:03.712300 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_no_stream_compound_object_with_yapping 0:00:02.777885

| Started | 2024-12-13 07:40:58 | | Ended | 2024-12-13 07:41:01 | | Duration | 0:00:02.777885 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_differing_unions 0:00:00.860191

| Started | 2024-12-13 07:41:01 | | Ended | 2024-12-13 07:41:02 | | Duration | 0:00:00.860191 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_return_failing_assert 0:00:00.372300

| Started | 2024-12-13 07:41:02 | | Ended | 2024-12-13 07:41:02 | | Duration | 0:00:00.372300 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_parameter_failing_assert 0:00:00.001057

| Started | 2024-12-13 07:41:02 | | Ended | 2024-12-13 07:41:02 | | Duration | 0:00:00.001057 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stderr call
[2024-12-13T15:41:02Z ERROR baml\_runtime::tracing] Error: inp: Failed assert: small\_int

Teardown

PASSED test_failing_assert_can_stream 0:00:03.449452

| Started | 2024-12-13 07:41:02 | | Ended | 2024-12-13 07:41:05 | | Duration | 0:00:03.449452 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stdout call
None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None

Teardown

PASSED test_simple_recursive_type 0:00:01.959081

| Started | 2024-12-13 07:41:05 | | Ended | 2024-12-13 07:41:07 | | Duration | 0:00:01.959081 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_mutually_recursive_type 0:00:02.151441

| Started | 2024-12-13 07:41:07 | | Ended | 2024-12-13 07:41:10 | | Duration | 0:00:02.151441 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_block_constraints 0:00:00.575196

| Started | 2024-12-13 07:41:10 | | Ended | 2024-12-13 07:41:10 | | Duration | 0:00:00.575196 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Teardown

PASSED test_nested_block_constraints 0:00:00.537941

| Started | 2024-12-13 07:41:10 | | Ended | 2024-12-13 07:41:11 | | Duration | 0:00:00.537941 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stdout call
nbc=Checked[BlockConstraint, Literal['cross\_field']](value=BlockConstraint(foo=1, bar='hello'), checks={'cross\_field': Check(name='cross\_field', expression='this.bar|length \> this.foo', status='succeeded')})

Teardown

PASSED test_block_constraint_arguments 0:00:00.001888

| Started | 2024-12-13 07:41:11 | | Ended | 2024-12-13 07:41:11 | | Duration | 0:00:00.001888 | | Markers |
asyncio
| | Fixtures | event_loop_policy cleanup event_loop |

Setup

Call

Captured stderr call
[2024-12-13T15:41:11Z ERROR baml\_runtime::tracing] Error: inp: Failed assert: hi [2024-12-13T15:41:11Z ERROR baml\_runtime::tracing] Error: inp: Failed assert: hi

Teardown

tests/test_pydantic.py 3 0:00:00.002336

PASSED test_model_validate_success 0:00:00.001317

| Started | 2024-12-13 07:41:11 | | Ended | 2024-12-13 07:41:11 | | Duration | 0:00:00.001317 | | Markers | | | Fixtures | event_loop_policy |

Setup

Call

Teardown

PASSED test_model_validate_failure 0:00:00.000530

| Started | 2024-12-13 07:41:11 | | Ended | 2024-12-13 07:41:11 | | Duration | 0:00:00.000530 | | Markers | | | Fixtures | event_loop_policy |

Setup

Call

Teardown

PASSED test_model_dump 0:00:00.000489

| Started | 2024-12-13 07:41:11 | | Ended | 2024-12-13 07:41:11 | | Duration | 0:00:00.000489 | | Markers | | | Fixtures | event_loop_policy |

Setup

Call

Teardown

tests/test_python.py 2 0:00:00.024115

PASSED test_inspect 0:00:00.023680

Assert that baml_py is compatible with the inspect module.

This is a regression test for a bug where inspect.stack() would implode if the pyo3 code called PyModule::from_code without specifying the file_name arg (i.e. without specifying the source file metadata for the inline Python snippet).

| Started | 2024-12-13 07:41:11 | | Ended | 2024-12-13 07:41:11 | | Duration | 0:00:00.023680 | | Markers | | | Fixtures | event_loop_policy |

Setup

Call

Teardown

PASSED test_pickle 0:00:00.000435

| Started | 2024-12-13 07:41:11 | | Ended | 2024-12-13 07:41:11 | | Duration | 0:00:00.000435 | | Markers | | | Fixtures | event_loop_policy |

Setup

Call

Teardown