Captured stdout call
Context depth is greater than 0!
+ Tests
tests/test_functions.py 196 0:03:33.568695
PASSED test_env_vars_reset 0:00:01.820627
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.447907
Setup
Call
Captured stdout call
got response key
+
Teardown
PASSED test_sync 0:00:00.472794
Setup
Call
Captured stdout call
got response key
true
52
-
Teardown
PASSED TestAllInputs::test_single_bool 0:00:00.306592
PASSED TestAllInputs::test_single_string_list 0:00:00.506679
PASSED TestAllInputs::test_return_literal_union 0:00:00.289915
PASSED TestAllInputs::test_constraints 0:00:00.624947
PASSED TestAllInputs::test_constraint_union_variant_checking 0:00:00.728360
PASSED TestAllInputs::test_return_malformed_constraint 0:00:00.453278
PASSED TestAllInputs::test_use_malformed_constraint 0:00:00.001295
Setup
Call
Captured stderr call
[2024-12-04T06:30:44Z 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_bool 0:00:00.618615
PASSED TestAllInputs::test_single_string_list 0:00:00.714492
PASSED TestAllInputs::test_return_literal_union 0:00:00.299170
PASSED TestAllInputs::test_constraints 0:00:00.632056
PASSED TestAllInputs::test_constraint_union_variant_checking 0:00:00.716871
PASSED TestAllInputs::test_return_malformed_constraint 0:00:00.684505
PASSED TestAllInputs::test_use_malformed_constraint 0:00:00.001355
Setup
Call
Captured stderr call
[2024-12-13T14:21:47Z 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.368634
PASSED TestAllInputs::test_multiple_args 0:00:00.445836
PASSED TestAllInputs::test_single_enum_list 0:00:00.344927
PASSED TestAllInputs::test_single_float 0:00:00.427340
PASSED TestAllInputs::test_single_int 0:00:00.354604
PASSED TestAllInputs::test_single_literal_int 0:00:00.471760
PASSED TestAllInputs::test_single_literal_bool 0:00:00.776402
PASSED TestAllInputs::test_single_literal_string 0:00:00.512772
PASSED TestAllInputs::test_class_with_literal_prop 0:00:00.372423
PASSED TestAllInputs::test_literal_classs_with_literal_union_prop 0:00:00.702836
PASSED TestAllInputs::test_single_map_string_to_string 0:00:00.460990
PASSED TestAllInputs::test_single_map_string_to_class 0:00:00.568221
PASSED TestAllInputs::test_single_map_string_to_map 0:00:00.384364
PASSED TestAllInputs::test_enum_key_in_map 0:00:00.750769
PASSED TestAllInputs::test_literal_string_union_key_in_map 0:00:00.649376
PASSED TestAllInputs::test_single_literal_string_key_in_map 0:00:00.499413
PASSED test_should_work_for_all_outputs 0:00:05.532121
PASSED test_should_work_with_image_url 0:00:01.750962
PASSED test_should_work_with_image_list 0:00:02.252015
PASSED test_should_work_with_vertex 0:00:08.748015
PASSED test_should_work_with_image_base64 0:00:01.301831
PASSED test_should_work_with_audio_base64 0:00:01.151316
PASSED test_should_work_with_audio_url 0:00:01.193011
PASSED test_works_with_retries2 0:00:02.273093
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: 1733293876, tv_nsec: 974347000 }, latency: 171.149125ms, 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.816097
PASSED test_works_with_failing_azure_fallback 0:00:00.033483
PASSED test_claude 0:00:00.972559
PASSED test_gemini 0:00:09.202791
Setup
Call
Captured stdout call
LLM output from Gemini: Mildred adjusted her cat-eye glasses, squinting at the neon sign flickering above the dusty gas station. "Dr. Pepper," it buzzed, half the letters burnt out. "You sure this is the place, Earl?"
+
Teardown
PASSED TestAllInputs::test_single_class 0:00:00.522007
PASSED TestAllInputs::test_multiple_args 0:00:00.524706
PASSED TestAllInputs::test_single_enum_list 0:00:00.360591
PASSED TestAllInputs::test_single_float 0:00:00.443447
PASSED TestAllInputs::test_single_int 0:00:00.313055
PASSED TestAllInputs::test_single_literal_int 0:00:00.452723
PASSED TestAllInputs::test_single_literal_bool 0:00:00.380532
PASSED TestAllInputs::test_single_literal_string 0:00:00.323265
PASSED TestAllInputs::test_class_with_literal_prop 0:00:00.497995
PASSED TestAllInputs::test_literal_classs_with_literal_union_prop 0:00:00.643937
PASSED TestAllInputs::test_single_map_string_to_string 0:00:00.475970
PASSED TestAllInputs::test_single_map_string_to_class 0:00:00.445885
PASSED TestAllInputs::test_single_map_string_to_map 0:00:00.419887
PASSED TestAllInputs::test_enum_key_in_map 0:00:01.046794
PASSED TestAllInputs::test_literal_string_union_key_in_map 0:00:00.735357
PASSED TestAllInputs::test_single_literal_string_key_in_map 0:00:00.380765
PASSED test_should_work_for_all_outputs 0:00:04.608649
PASSED test_should_work_with_image_url 0:00:01.381997
PASSED test_should_work_with_image_list 0:00:01.422734
PASSED test_should_work_with_vertex 0:00:09.970103
PASSED test_should_work_with_image_base64 0:00:01.379067
PASSED test_should_work_with_audio_base64 0:00:01.057976
PASSED test_should_work_with_audio_url 0:00:01.101493
PASSED test_works_with_retries2 0:00:02.139693
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: 1734099738, tv_nsec: 399323000 }, latency: 236.591084ms, 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.990924
PASSED test_works_with_failing_azure_fallback 0:00:00.036548
PASSED test_claude 0:00:01.445531
PASSED test_gemini 0:00:09.097367
Setup
Call
Captured stdout call
LLM output from Gemini: Bartholomew "Bart" Pepper was, by all accounts, a strange man. He spoke in riddles, tinkered with contraptions that defied logic, and smelled perpetually of licorice and burnt sugar. His small shop, nestled in a forgotten corner of a bustling city, was a testament to his eccentricities. Bells jingled incessantly from the ceiling, gears spun on walls adorned with cryptic diagrams, and the air crackled with a peculiar energy.
-Earl, a portly beagle mix, snuffled at the cracked asphalt. "Positive. This is where the legend sleeps."
+Bart claimed he was a doctor, not of the body, but of the soul. His medicine? A concoction he called "Dr. Pepper," a bubbling, fizzing elixir brewed in giant copper kettles that hissed and groaned with ancient secrets.
-Mildred, a renowned historian specializing in the obscure and forgotten, patted her companion's head. They were on the trail of the fabled Dr. Pepper, not the sugary drink, but the man rumored to have invented it. Legend claimed he vanished decades ago, leaving behind whispers and a single, cryptic message: "The answer lies where the bubbles dance."
+One dreary afternoon, a young woman named Amelia wandered into his shop. Burdened with grief over a recent loss, she felt drawn to its warmth and the strange, comforting aroma. Bart, with eyes that held the wisdom of a thousand lifetimes, simply smiled and handed her a steaming mug of his concoction.
-The gas station attendant, a teenager with a bored expression and a name tag that read "Scooter," shrugged when Mildred inquired about Dr. Pepper. "Never heard of him. This place has been abandoned for years."
+Amelia took a tentative sip. The taste was like nothing she'd ever experienced: a kaleidoscope of flavors, sweet and tangy, with a hint of something indescribable. As she drank, a warmth spread through her, melting away the chill in her heart. She looked up, eyes wide with wonder.
-Undeterred, Mildred explored the dusty aisles. Earl, sniffing at a forgotten bag of chips, suddenly barked. He pawed at a loose floorboard, revealing a hidden compartment. Inside, nestled amongst cobwebs and faded newspaper clippings, lay a leather-bound journal.
+"What is this magic?" she breathed.
-"This is it," Mildred whispered, her heart pounding.
+Bart chuckled, his eyes twinkling. "It's not magic, my dear. It's the taste of possibility, of joy, of a thousand tiny sparks of hope, all bottled up for a rainy day."
-The journal chronicled Dr. Pepper's journey, his quest to create a drink that captured the feeling of joy, the fizz of excitement. The final entry detailed his creation, a recipe using a secret blend of 23 flavors.
+And as Amelia finished her mug, she realized he was right. The world outside might have remained gray, but within her, something had shifted. A flicker of hope, ignited by the doctor's strange brew, had begun to burn. She left the shop that day, lighter in spirit, carrying with her the sweet, fizzy taste of possibility.
-And then, the cryptic message: "The answer lies where the bubbles dance."
+Bart, watching her go, smiled. He knew his concoction couldn't erase her pain, but perhaps, it could help her remember the sweetness life still held. And that, he believed, was a kind of medicine all its own.
-Mildred reread the line, then looked up. Through the dusty window, the setting sun cast an orange glow on a forgotten soda fountain. The bubbles in the forgotten syrup bottles danced in the light.
+
Teardown
PASSED test_gemini_streaming 0:00:08.035179
Setup
Call
Captured stdout call
LLM output from Gemini: The old diner was quiet, the only sound the gentle whir of the ceiling fan struggling against the Texas heat. Behind the counter, Mabel hummed along to a song only she could hear, polishing a glass until it gleamed.
-With trembling hands, Mildred mixed the ingredients from the recipe, adding a final touch - a sprinkle of sunset-colored dust collected from the windowsill. She took a sip, the 23 flavors bursting on her tongue. It tasted of forgotten dreams and joyous memories, a symphony of sweetness and light.
+Suddenly, the bell above the door chimed, announcing a customer. A young woman, her face hidden by a worn cowboy hat, slumped into a booth by the window. Mabel recognized the look of someone who'd lost their way, a look she'd seen a thousand times reflected in the chrome of the napkin dispenser.
-Earl barked in agreement, lapping at a spilled drop. The legend wasn't about a drink, Mildred realized, but about capturing a feeling. And Dr. Pepper, the man, had bottled pure happiness.
+"Howdy," Mabel greeted, setting down the glass. "What can I get you, hon?"
-
Teardown
PASSED test_gemini_streaming 0:00:01.480657
Setup
Call
Captured stdout call
LLM output from Gemini: Dr. Pete Pepper wasn't a real doctor, not in the medical sense anyway
-
Teardown
PASSED test_aws 0:00:01.698838
PASSED test_openai_shorthand 0:00:07.257032
PASSED test_openai_shorthand_streaming 0:00:12.582135
PASSED test_anthropic_shorthand 0:00:02.904237
PASSED test_anthropic_shorthand_streaming 0:00:02.755303
PASSED test_fallback_to_shorthand 0:00:01.038533
PASSED test_aws_streaming 0:00:01.456936
PASSED test_streaming 0:00:02.959838
PASSED test_streaming_uniterated 0:00:02.410336
PASSED test_streaming_sync 0:00:02.568135
Setup
Call
Captured log call
WARNING asyncio:base_events.py:1982 Executing <Task finished name='Task-64' coro=<BaseEventLoop.shutdown_default_executor() done, defined at /opt/homebrew/Cellar/python@3.12/3.12.4/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/base_events.py:586> result=None created at /opt/homebrew/Cellar/python@3.12/3.12.4/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/tasks.py:695> took 0.464 seconds
Teardown
PASSED test_streaming_uniterated_sync 0:00:02.717052
PASSED test_streaming_claude 0:00:00.978513
Setup
Call
Captured stdout call
msgs:
-Here's a haiku about Mt. Rainier:
+The woman sighed, pushing the hat back to reveal tired eyes. "Just coffee, black as my boots."
-Rainier stands alone
-Fourteen thousand feet skyward
-Guardian of clouds
+Mabel raised an eyebrow. "Now, I don't know about all that. How about a Dr. Pepper instead? It's got just the right amount of pep to chase away any blues."
+
+The woman hesitated, then a small smile flickered across her lips. "Alright, a Dr. Pepper it is."
+
+Mabel returned a moment later with a frosty glass, condensation clinging to its sides like tiny diamonds. The woman took a long sip, her eyes widening in surprise.
+
+"This is... delicious." She took another gulp. "It tastes like...like hope mixed with a little bit of mischief."
+
+Mabel chuckled. "That's Dr. Pepper for ya. Ain't no problem it can't fix, at least for a little while."
+
+And as the woman finished her Dr. Pepper, sharing stories with Mabel and the few other patrons who wandered in, the diner didn't feel quite so quiet anymore. The air was filled with the clinking of glasses, the murmur of conversation, and the sweet, spicy scent of Dr. Pepper, a reminder that even on the loneliest of roads, a little bit of comfort could always be found.
+
+
Teardown
PASSED test_aws 0:00:01.829658
PASSED test_openai_shorthand 0:00:10.503789
PASSED test_openai_shorthand_streaming 0:00:10.879226
PASSED test_anthropic_shorthand 0:00:03.933997
PASSED test_anthropic_shorthand_streaming 0:00:03.735164
PASSED test_fallback_to_shorthand 0:00:00.860333
PASSED test_aws_streaming 0:00:01.449588
PASSED test_streaming 0:00:02.517329
PASSED test_streaming_uniterated 0:00:03.343076
PASSED test_streaming_sync 0:00:03.880195
PASSED test_streaming_uniterated_sync 0:00:05.060981
PASSED test_streaming_claude 0:00:01.059323
Setup
Call
Captured stdout call
msgs:
+Here's a haiku about Mt. Rainier's height:
+
+Rainier stands proud, high
+Fourteen thousand feet of snow
+Pierce the summer sky
final:
-Here's a haiku about Mt. Rainier:
+Here's a haiku about Mt. Rainier's height:
+
+Rainier stands proud, high
+Fourteen thousand feet of snow
+Pierce the summer sky
+
Teardown
PASSED test_streaming_gemini 0:00:09.398223
Setup
Call
Captured stdout call
msgs:
+Barnaby Butterfield, a man of discerning taste and handlebar mustache to match, slammed his newspaper on the table, rattling his wife Agnes' teacup. "Preposterous!" he boomed.
-Rainier stands alone
-Fourteen thousand feet skyward
-Guardian of clouds
-
Teardown
PASSED test_streaming_gemini 0:00:08.033064
Setup
Call
Captured stdout call
msgs:
-Dottie Mae clutched her lukewarm Dr Pepper, the condensation forming a sticky ring on the porch swing. A symphony of cicadas played in the muggy summer air. It was her Pawpaw's favorite drink, and even though he'd been gone a year, she still couldn't bring herself to buy the diet kind he'd switched to in his later years.
+Agnes, a woman unfazed by decades of Barnaby's pronouncements, merely raised an eyebrow. "What is it now, dear?"
-She popped the top, the familiar fizz a comforting sound. Pawpaw always said Dr Pepper tasted like summer evenings and fireflies. Back then, Dottie Mae thought it tasted too grown-up, preferring the sickly sweetness of store-brand grape soda. Now, the unique blend of flavors – cherry, licorice, maybe even a hint of that grape she used to love – brought a wave of bittersweet nostalgia.
+"This newfangled soda fountain," Barnaby sputtered, jabbing the newspaper with his index finger. "Claims to have 23 flavors! Twenty-three! Utter poppycock, I say. Why, a man can barely discern five flavors in a lifetime, let alone twenty-three!"
-Pawpaw had a knack for making the ordinary extraordinary. He'd spin tales of how the 23 flavors in Dr Pepper represented the 23 adventures a person should have in their life. Each sip, he’d say, was a reminder to live life to the fullest. He'd even convinced her it could cure anything from hiccups to heartache.
+Agnes sighed. Barnaby's disdain for anything new was as predictable as the sunrise.
-Dottie Mae took a long swig, the carbonation biting her tongue. It didn't cure her grief, not exactly, but it did bring a smile to her face. It tasted like Pawpaw, like fireflies, like those endless summer evenings that stretched on forever.
+Later that day, curiosity gnawing at him like a persistent squirrel, Barnaby found himself standing before the offending soda fountain. A young man with slicked-back hair and a charming smile greeted him.
-She imagined him now, sitting beside her on the porch swing, a mischievous twinkle in his eye. "Don't you go wastin' a good Dr Pepper frownin', Dottie Mae," he'd say, his voice raspy with laughter. "Life's too short, even with 23 adventures."
+"Welcome, sir! Care to try a Dr. Pepper? It's got 23 distinct flavors, guaranteed to tantalize your taste buds!"
-She took another sip, the bittersweetness comforting on her tongue. He was right, she realized. Life was too short. And maybe, just maybe, she had a few adventures left to experience.
+Barnaby scoffed. "Twenty-three flavors, you say? Humbug!" But intrigued nonetheless, he relented.
+
+The young man filled a glass with a bubbly, caramel-colored concoction. Barnaby took a tentative sip. His eyes widened. He took another, larger gulp. And another.
+
+A slow smile spread across his face, his mustache twitching. He tasted licorice, cherry, even a hint of... was that amaretto? The flavors danced on his tongue, a delightful mystery he couldn't quite decipher.
+
+He finished the glass in stunned silence.
+
+"Well, sir?" the young man asked, a twinkle in his eye.
+
+Barnaby cleared his throat, his previous indignation forgotten. "Young man," he declared, adjusting his hat, "I may have been wrong about the number of flavors in a lifetime. But by Jove, this Dr. Pepper just might prove me wrong about everything else."
+
+From that day forward, Barnaby Butterfield became Dr. Pepper's most enthusiastic convert, his handlebar mustache perpetually adorned with a telltale fizz. He never did figure out all 23 flavors, but the joy, he discovered, was in the delicious mystery of it all.
final:
-Dottie Mae clutched her lukewarm Dr Pepper, the condensation forming a sticky ring on the porch swing. A symphony of cicadas played in the muggy summer air. It was her Pawpaw's favorite drink, and even though he'd been gone a year, she still couldn't bring herself to buy the diet kind he'd switched to in his later years.
+Barnaby Butterfield, a man of discerning taste and handlebar mustache to match, slammed his newspaper on the table, rattling his wife Agnes' teacup. "Preposterous!" he boomed.
+
+Agnes, a woman unfazed by decades of Barnaby's pronouncements, merely raised an eyebrow. "What is it now, dear?"
+
+"This newfangled soda fountain," Barnaby sputtered, jabbing the newspaper with his index finger. "Claims to have 23 flavors! Twenty-three! Utter poppycock, I say. Why, a man can barely discern five flavors in a lifetime, let alone twenty-three!"
-She popped the top, the familiar fizz a comforting sound. Pawpaw always said Dr Pepper tasted like summer evenings and fireflies. Back then, Dottie Mae thought it tasted too grown-up, preferring the sickly sweetness of store-brand grape soda. Now, the unique blend of flavors – cherry, licorice, maybe even a hint of that grape she used to love – brought a wave of bittersweet nostalgia.
+Agnes sighed. Barnaby's disdain for anything new was as predictable as the sunrise.
-Pawpaw had a knack for making the ordinary extraordinary. He'd spin tales of how the 23 flavors in Dr Pepper represented the 23 adventures a person should have in their life. Each sip, he’d say, was a reminder to live life to the fullest. He'd even convinced her it could cure anything from hiccups to heartache.
+Later that day, curiosity gnawing at him like a persistent squirrel, Barnaby found himself standing before the offending soda fountain. A young man with slicked-back hair and a charming smile greeted him.
-Dottie Mae took a long swig, the carbonation biting her tongue. It didn't cure her grief, not exactly, but it did bring a smile to her face. It tasted like Pawpaw, like fireflies, like those endless summer evenings that stretched on forever.
+"Welcome, sir! Care to try a Dr. Pepper? It's got 23 distinct flavors, guaranteed to tantalize your taste buds!"
-She imagined him now, sitting beside her on the porch swing, a mischievous twinkle in his eye. "Don't you go wastin' a good Dr Pepper frownin', Dottie Mae," he'd say, his voice raspy with laughter. "Life's too short, even with 23 adventures."
+Barnaby scoffed. "Twenty-three flavors, you say? Humbug!" But intrigued nonetheless, he relented.
-She took another sip, the bittersweetness comforting on her tongue. He was right, she realized. Life was too short. And maybe, just maybe, she had a few adventures left to experience.
+The young man filled a glass with a bubbly, caramel-colored concoction. Barnaby took a tentative sip. His eyes widened. He took another, larger gulp. And another.
-
Teardown
PASSED test_tracing_async_only 0:00:05.250146
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.000317
PASSED test_tracing_thread_pool 0:00:01.393780
PASSED test_tracing_thread_pool_async 0:00:14.048189
PASSED test_tracing_async_gather 0:00:01.139718
PASSED test_tracing_async_gather_top_level 0:00:01.325910
PASSED test_dynamic 0:00:01.049657
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:00.955351
Setup
Call
Captured stdout call
[]
+A slow smile spread across his face, his mustache twitching. He tasted licorice, cherry, even a hint of... was that amaretto? The flavors danced on his tongue, a delightful mystery he couldn't quite decipher.
+
+He finished the glass in stunned silence.
+
+"Well, sir?" the young man asked, a twinkle in his eye.
+
+Barnaby cleared his throat, his previous indignation forgotten. "Young man," he declared, adjusting his hat, "I may have been wrong about the number of flavors in a lifetime. But by Jove, this Dr. Pepper just might prove me wrong about everything else."
+
+From that day forward, Barnaby Butterfield became Dr. Pepper's most enthusiastic convert, his handlebar mustache perpetually adorned with a telltale fizz. He never did figure out all 23 flavors, but the joy, he discovered, was in the delicious mystery of it all.
+
+
Teardown
PASSED test_tracing_async_only 0:00:04.823691
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.000351
PASSED test_tracing_thread_pool 0:00:01.394251
PASSED test_tracing_thread_pool_async 0:00:14.024693
PASSED test_tracing_async_gather 0:00:01.441707
PASSED test_tracing_async_gather_top_level 0:00:01.484387
PASSED test_dynamic 0:00:01.525739
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:00.993926
Setup
Call
Captured stdout call
[]
{"hair_color":"black"}
-
Teardown
PASSED test_dynamic_class_nested_output_no_stream 0:00:00.877010
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.527380
Setup
Call
Captured stdout call
streamed name=None hair_color=None
+
Teardown
PASSED test_dynamic_class_nested_output_no_stream 0:00:00.772107
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.580021
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}
@@ -155,7 +196,7 @@
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.630070
Setup
Call
Captured stdout call
[]
+
Teardown
PASSED test_stream_dynamic_class_output 0:00:00.646184
Setup
Call
Captured stdout call
[]
streamed {'hair_color': '{'}
streamed {'hair_color': '{'}
streamed {'hair_color': '{\n "'}
@@ -172,18 +213,37 @@
final hair_color='black'
final {'hair_color': 'black'}
final {"hair_color":"black"}
-
Teardown
PASSED test_dynamic_inputs_list2 0:00:00.933096
PASSED test_dynamic_types_new_enum 0:00:01.227953
PASSED test_dynamic_types_existing_enum 0:00:00.667437
PASSED test_dynamic_literals 0:00:03.292589
PASSED test_dynamic_inputs_list 0:00:00.998444
PASSED test_dynamic_output_map 0:00:00.608324
Setup
Call
Captured stdout call
[]
-final hair_color='black' attributes={'eye_color': 'blue', 'facial_hair': 'beard'}
-final {'hair_color': 'black', 'attributes': {'eye_color': 'blue', 'facial_hair': 'beard'}}
-final {"hair_color":"black","attributes":{"eye_color":"blue","facial_hair":"beard"}}
-
Teardown
PASSED test_dynamic_output_union 0:00:01.733173
Setup
Call
Captured stdout call
[]
+
Teardown
PASSED test_dynamic_inputs_list2 0:00:01.215553
PASSED test_dynamic_types_new_enum 0:00:01.613053
PASSED test_dynamic_types_existing_enum 0:00:00.541909
PASSED test_dynamic_literals 0:00:00.734552
PASSED test_dynamic_inputs_list 0:00:00.901091
PASSED test_dynamic_output_map 0:00:00.657098
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:01.769073
Setup
Call
Captured stdout call
[]
final hair_color='black' attributes={'eye_color': 'blue', 'facial_hair': 'beard'} height={'feet': 6.0, 'inches': None}
final {'hair_color': 'black', 'attributes': {'eye_color': 'blue', 'facial_hair': 'beard'}, 'height': {'feet': 6.0, 'inches': None}}
final {"hair_color":"black","attributes":{"eye_color":"blue","facial_hair":"beard"},"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:01.424581
Setup
Call
Captured stdout call
streamed {'prop1': None, 'prop2': None}
+
Teardown
PASSED test_nested_class_streaming 0:00:05.007773
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}
@@ -191,80 +251,269 @@
streamed {'prop1': None, 'prop2': None}
streamed {'prop1': None, 'prop2': None}
streamed {'prop1': '', 'prop2': None}
-streamed {'prop1': 'value', 'prop2': None}
-streamed {'prop1': 'value1', 'prop2': None}
-streamed {'prop1': 'value1', 'prop2': None}
-streamed {'prop1': 'value1', 'prop2': None}
-streamed {'prop1': 'value1', 'prop2': None}
-streamed {'prop1': 'value1', 'prop2': None}
-streamed {'prop1': 'value1', 'prop2': None}
-streamed {'prop1': 'value1', 'prop2': None}
-streamed {'prop1': 'value1', 'prop2': None}
-streamed {'prop1': 'value1', 'prop2': {'prop1': None, 'prop2': None, 'inner': None}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': None, 'prop2': None, 'inner': None}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': None, 'prop2': None, 'inner': None}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': None, 'prop2': None, 'inner': None}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': None, 'prop2': None, 'inner': None}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': None, 'prop2': None, 'inner': None}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': None, 'prop2': None, 'inner': None}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': '', 'prop2': None, 'inner': None}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value', 'prop2': None, 'inner': None}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': None, 'inner': None}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': None, 'inner': None}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': None, 'inner': None}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': None, 'inner': None}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': None, 'inner': None}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': None, 'inner': None}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': None, 'inner': None}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': None, 'inner': None}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': '', 'inner': None}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value', 'inner': None}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': None}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': None}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': None}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': None}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': None}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': None}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': None}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': None, 'prop3': None}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': None, 'prop3': None}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': None, 'prop3': None}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': None, 'prop3': None}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': None, 'prop3': None}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': None, 'prop3': None}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': None, 'prop3': None}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': None, 'prop3': None}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': None, 'prop3': None}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': None, 'prop3': None}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': 42, 'prop3': None}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': 42, 'prop3': None}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': 42, 'prop3': None}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': 42, 'prop3': None}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': 42, 'prop3': None}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': None, 'prop3': None}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': 42, 'prop3': None}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': 42, 'prop3': None}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': 42, 'prop3': None}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': 42, 'prop3': None}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': 42, 'prop3': None}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': 42, 'prop3': None}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': 42, 'prop3': 3.14}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': 42, 'prop3': 3.14}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': 42, 'prop3': 3.14}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': 42, 'prop3': 3.14}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': 42, 'prop3': 3.14}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': 42, 'prop3': 3.14}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': 42, 'prop3': 3.14}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': 42, 'prop3': 3.14}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': 42, 'prop3': 3.14}}}
-streamed {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': 42, 'prop3': 3.14}}}
-final {'prop1': 'value1', 'prop2': {'prop1': 'value2', 'prop2': 'value3', 'inner': {'prop2': 42, 'prop3': 3.14}}}
-
Teardown
PASSED test_dynamic_client_with_openai 0:00:00.426431
PASSED test_dynamic_client_with_vertex_json_str_creds 0:00:01.472761
PASSED test_dynamic_client_with_vertex_json_object_creds 0:00:01.233944
PASSED test_event_log_hook 0:00:01.221894
Setup
Call
Captured stdout call
Event log hook1:
+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': 'ag', 'inner': None}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': None}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': None}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': None}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': None}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': None}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': None}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': None}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': None, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': None, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': None, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': None, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': None, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': None, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': None, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': None, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': None, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': None, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': None, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+streamed {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': None}}}
+final {'prop1': 'hello', 'prop2': {'prop1': 'world', 'prop2': 'again', 'inner': {'prop2': 42, 'prop3': 3.14}}}
+
Teardown
PASSED test_dynamic_client_with_openai 0:00:00.760949
PASSED test_dynamic_client_with_vertex_json_str_creds 0:00:01.095419
PASSED test_dynamic_client_with_vertex_json_object_creds 0:00:00.824506
PASSED test_event_log_hook 0:00:01.131149
Setup
Call
Captured stdout call
Event log hook1:
Event log event BamlLogEvent {
metadata: {
- event_id: "65de820f-a524-4e75-b641-ad1d7ebedd54",
+ event_id: "78dc8c9b-f55c-437d-a06c-18928848d89e",
parent_id: None,
- root_event_id: "65de820f-a524-4e75-b641-ad1d7ebedd54"
+ root_event_id: "78dc8c9b-f55c-437d-a06c-18928848d89e"
},
prompt: "[
{
@@ -278,124 +527,124 @@
]",
raw_output: "["a", "b", "c"]",
parsed_output: "["a", "b", "c"]",
- start_time: "2024-12-04T06:33:01.559Z"
+ start_time: "2024-12-13T14:24:20.930Z"
}
-
Teardown
PASSED test_aws_bedrock 0:00:03.490771
Setup
Call
Captured stdout call
unstreamed
+
Teardown
PASSED test_aws_bedrock 0:00:03.121428
Setup
Call
Captured stdout call
unstreamed
-In the heart of the ancient forest, there was a peculiar rock that had been passed down through generations of the local tribe. It was said that the rock held a secret, a spark of magic that only revealed itself to those who possessed a pure heart and a curious mind.
+The old geologist, Dr. Maria, had spent her entire career studying the ancient rocks of the Appalachian Mountains. She had seen it all - the twisted granite, the layered sandstone, the glittering quartz. But nothing could have prepared her for what she was about to discover.
-The rock was a deep, rich brown, with veins of silver that seemed to shimmer in the sunlight. It was smooth to the touch, as if it had been worn down by the gentle touch of countless hands over the
+As she made her way through the dense forest, her eyes scanning the ground for the perfect specimen, she stumbled upon a peculiar rock. It was unlike any she had ever seen before - a deep, rich blue
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, Professor'
-streamed '\n\nThe old geologist, Professor Thompson'
-streamed '\n\nThe old geologist, Professor Thompson,'
-streamed '\n\nThe old geologist, Professor Thompson, had'
-streamed '\n\nThe old geologist, Professor Thompson, had spent'
-streamed '\n\nThe old geologist, Professor Thompson, had spent his'
-streamed '\n\nThe old geologist, Professor Thompson, had spent his entire'
-streamed '\n\nThe old geologist, Professor Thompson, had spent his entire career'
-streamed '\n\nThe old geologist, Professor Thompson, had spent his entire career studying'
-streamed '\n\nThe old geologist, Professor Thompson, had spent his entire career studying the'
-streamed '\n\nThe old geologist, Professor Thompson, had spent his entire career studying the ancient'
-streamed '\n\nThe old geologist, Professor Thompson, had spent his entire career studying the ancient rocks'
-streamed '\n\nThe old geologist, Professor Thompson, had spent his entire career studying the ancient rocks of'
-streamed 'The old geologist, Professor Thompson, had spent his entire career studying the ancient rocks of the'
-streamed 'ogist, Professor Thompson, had spent his entire career studying the ancient rocks of the Appalachian'
-streamed 'fessor Thompson, had spent his entire career studying the ancient rocks of the Appalachian Mountains'
-streamed 'essor Thompson, had spent his entire career studying the ancient rocks of the Appalachian Mountains.'
-streamed 'or Thompson, had spent his entire career studying the ancient rocks of the Appalachian Mountains. He'
-streamed 'hompson, had spent his entire career studying the ancient rocks of the Appalachian Mountains. He had'
-streamed 'on, had spent his entire career studying the ancient rocks of the Appalachian Mountains. He had seen'
-streamed ' had spent his entire career studying the ancient rocks of the Appalachian Mountains. He had seen it'
-streamed ' spent his entire career studying the ancient rocks of the Appalachian Mountains. He had seen it all'
-streamed 'pent his entire career studying the ancient rocks of the Appalachian Mountains. He had seen it all -'
-streamed ' his entire career studying the ancient rocks of the Appalachian Mountains. He had seen it all - the'
-streamed 'tire career studying the ancient rocks of the Appalachian Mountains. He had seen it all - the fossil'
-streamed ' career studying the ancient rocks of the Appalachian Mountains. He had seen it all - the fossilized'
-streamed 'reer studying the ancient rocks of the Appalachian Mountains. He had seen it all - the fossilized tr'
-streamed 'er studying the ancient rocks of the Appalachian Mountains. He had seen it all - the fossilized tril'
-streamed ' studying the ancient rocks of the Appalachian Mountains. He had seen it all - the fossilized trilob'
-streamed 'dying the ancient rocks of the Appalachian Mountains. He had seen it all - the fossilized trilobites'
-streamed 'ying the ancient rocks of the Appalachian Mountains. He had seen it all - the fossilized trilobites,'
-streamed ' the ancient rocks of the Appalachian Mountains. He had seen it all - the fossilized trilobites, the'
-streamed 'cient rocks of the Appalachian Mountains. He had seen it all - the fossilized trilobites, the quartz'
-streamed 'ks of the Appalachian Mountains. He had seen it all - the fossilized trilobites, the quartz crystals'
-streamed 's of the Appalachian Mountains. He had seen it all - the fossilized trilobites, the quartz crystals,'
-streamed ' the Appalachian Mountains. He had seen it all - the fossilized trilobites, the quartz crystals, the'
-streamed 'ppalachian Mountains. He had seen it all - the fossilized trilobites, the quartz crystals, the veins'
-streamed 'lachian Mountains. He had seen it all - the fossilized trilobites, the quartz crystals, the veins of'
-streamed 'an Mountains. He had seen it all - the fossilized trilobites, the quartz crystals, the veins of gold'
-streamed 'n Mountains. He had seen it all - the fossilized trilobites, the quartz crystals, the veins of gold.'
-streamed 'untains. He had seen it all - the fossilized trilobites, the quartz crystals, the veins of gold. But'
-streamed ' He had seen it all - the fossilized trilobites, the quartz crystals, the veins of gold. But nothing'
-streamed 'had seen it all - the fossilized trilobites, the quartz crystals, the veins of gold. But nothing had'
-streamed 'een it all - the fossilized trilobites, the quartz crystals, the veins of gold. But nothing had ever'
-streamed '- the fossilized trilobites, the quartz crystals, the veins of gold. But nothing had ever fascinated'
-streamed 'e fossilized trilobites, the quartz crystals, the veins of gold. But nothing had ever fascinated him'
-streamed 'silized trilobites, the quartz crystals, the veins of gold. But nothing had ever fascinated him more'
-streamed 'ed trilobites, the quartz crystals, the veins of gold. But nothing had ever fascinated him more than'
-streamed 'rilobites, the quartz crystals, the veins of gold. But nothing had ever fascinated him more than the'
-streamed 's, the quartz crystals, the veins of gold. But nothing had ever fascinated him more than the strange'
-streamed ', the quartz crystals, the veins of gold. But nothing had ever fascinated him more than the strange,'
-streamed 'artz crystals, the veins of gold. But nothing had ever fascinated him more than the strange, glowing'
-streamed 'crystals, the veins of gold. But nothing had ever fascinated him more than the strange, glowing rock'
-streamed 'stals, the veins of gold. But nothing had ever fascinated him more than the strange, glowing rock he'
-streamed 's, the veins of gold. But nothing had ever fascinated him more than the strange, glowing rock he had'
-streamed 's of gold. But nothing had ever fascinated him more than the strange, glowing rock he had discovered'
-streamed 'gold. But nothing had ever fascinated him more than the strange, glowing rock he had discovered deep'
-streamed 'd. But nothing had ever fascinated him more than the strange, glowing rock he had discovered deep in'
-streamed 'ut nothing had ever fascinated him more than the strange, glowing rock he had discovered deep in the'
-streamed 'hing had ever fascinated him more than the strange, glowing rock he had discovered deep in the heart'
-streamed 'g had ever fascinated him more than the strange, glowing rock he had discovered deep in the heart of'
-streamed 'd ever fascinated him more than the strange, glowing rock he had discovered deep in the heart of the'
-streamed 'cinated him more than the strange, glowing rock he had discovered deep in the heart of the mountains'
-streamed 'ated him more than the strange, glowing rock he had discovered deep in the heart of the mountains.\n\n'
-streamed 'ed him more than the strange, glowing rock he had discovered deep in the heart of the mountains.\n\nIt'
-streamed 'im more than the strange, glowing rock he had discovered deep in the heart of the mountains.\n\nIt was'
-streamed ' more than the strange, glowing rock he had discovered deep in the heart of the mountains.\n\nIt was a'
-streamed 'n the strange, glowing rock he had discovered deep in the heart of the mountains.\n\nIt was a peculiar'
-streamed 'strange, glowing rock he had discovered deep in the heart of the mountains.\n\nIt was a peculiar thing'
-streamed 'trange, glowing rock he had discovered deep in the heart of the mountains.\n\nIt was a peculiar thing,'
-streamed 'e, glowing rock he had discovered deep in the heart of the mountains.\n\nIt was a peculiar thing, this'
-streamed 'owing rock he had discovered deep in the heart of the mountains.\n\nIt was a peculiar thing, this rock'
-streamed 'wing rock he had discovered deep in the heart of the mountains.\n\nIt was a peculiar thing, this rock.'
-streamed 'g rock he had discovered deep in the heart of the mountains.\n\nIt was a peculiar thing, this rock. It'
-streamed 'he had discovered deep in the heart of the mountains.\n\nIt was a peculiar thing, this rock. It looked'
-streamed 'd discovered deep in the heart of the mountains.\n\nIt was a peculiar thing, this rock. It looked like'
-streamed 'scovered deep in the heart of the mountains.\n\nIt was a peculiar thing, this rock. It looked like any'
-streamed 'ed deep in the heart of the mountains.\n\nIt was a peculiar thing, this rock. It looked like any other'
-streamed 'in the heart of the mountains.\n\nIt was a peculiar thing, this rock. It looked like any other granite'
-streamed 'n the heart of the mountains.\n\nIt was a peculiar thing, this rock. It looked like any other granite,'
-streamed 'e heart of the mountains.\n\nIt was a peculiar thing, this rock. It looked like any other granite, but'
-streamed 'rt of the mountains.\n\nIt was a peculiar thing, this rock. It looked like any other granite, but when'
-streamed 'mountains.\n\nIt was a peculiar thing, this rock. It looked like any other granite, but when Professor'
-streamed '.\n\nIt was a peculiar thing, this rock. It looked like any other granite, but when Professor Thompson'
-streamed ' was a peculiar thing, this rock. It looked like any other granite, but when Professor Thompson held'
-streamed 's a peculiar thing, this rock. It looked like any other granite, but when Professor Thompson held it'
-streamed ' peculiar thing, this rock. It looked like any other granite, but when Professor Thompson held it up'
-streamed 'culiar thing, this rock. It looked like any other granite, but when Professor Thompson held it up to'
-streamed 'ar thing, this rock. It looked like any other granite, but when Professor Thompson held it up to the'
-streamed 'ng, this rock. It looked like any other granite, but when Professor Thompson held it up to the light'
-streamed 'g, this rock. It looked like any other granite, but when Professor Thompson held it up to the light,'
-streamed 'this rock. It looked like any other granite, but when Professor Thompson held it up to the light, he'
-streamed 'ock. It looked like any other granite, but when Professor Thompson held it up to the light, he could'
-streamed 't looked like any other granite, but when Professor Thompson held it up to the light, he could swear'
-streamed 't looked like any other granite, but when Professor Thompson held it up to the light, he could swear'
-streamed 't looked like any other granite, but when Professor Thompson held it up to the light, he could swear'
-streamed 't looked like any other granite, but when Professor Thompson held it up to the light, he could swear'
+streamed '\n\nIn'
+streamed '\n\nIn the'
+streamed '\n\nIn the heart'
+streamed '\n\nIn the heart of'
+streamed '\n\nIn the heart of the'
+streamed '\n\nIn the heart of the ancient'
+streamed '\n\nIn the heart of the ancient forest'
+streamed '\n\nIn the heart of the ancient forest,'
+streamed '\n\nIn the heart of the ancient forest, there'
+streamed '\n\nIn the heart of the ancient forest, there was'
+streamed '\n\nIn the heart of the ancient forest, there was a'
+streamed '\n\nIn the heart of the ancient forest, there was a peculiar'
+streamed '\n\nIn the heart of the ancient forest, there was a peculiar rock'
+streamed '\n\nIn the heart of the ancient forest, there was a peculiar rock formation'
+streamed '\n\nIn the heart of the ancient forest, there was a peculiar rock formation that'
+streamed '\n\nIn the heart of the ancient forest, there was a peculiar rock formation that had'
+streamed '\n\nIn the heart of the ancient forest, there was a peculiar rock formation that had been'
+streamed '\n\nIn the heart of the ancient forest, there was a peculiar rock formation that had been passed'
+streamed '\n\nIn the heart of the ancient forest, there was a peculiar rock formation that had been passed down'
+streamed 'e heart of the ancient forest, there was a peculiar rock formation that had been passed down through'
+streamed 'he ancient forest, there was a peculiar rock formation that had been passed down through generations'
+streamed 'ancient forest, there was a peculiar rock formation that had been passed down through generations of'
+streamed 't forest, there was a peculiar rock formation that had been passed down through generations of local'
+streamed 't, there was a peculiar rock formation that had been passed down through generations of local legend'
+streamed ', there was a peculiar rock formation that had been passed down through generations of local legend.'
+streamed 'here was a peculiar rock formation that had been passed down through generations of local legend. It'
+streamed ' was a peculiar rock formation that had been passed down through generations of local legend. It was'
+streamed 'a peculiar rock formation that had been passed down through generations of local legend. It was said'
+streamed 'uliar rock formation that had been passed down through generations of local legend. It was said that'
+streamed 'iar rock formation that had been passed down through generations of local legend. It was said that a'
+streamed 'ock formation that had been passed down through generations of local legend. It was said that a bolt'
+streamed ' formation that had been passed down through generations of local legend. It was said that a bolt of'
+streamed ' that had been passed down through generations of local legend. It was said that a bolt of lightning'
+streamed 't had been passed down through generations of local legend. It was said that a bolt of lightning had'
+streamed 'een passed down through generations of local legend. It was said that a bolt of lightning had struck'
+streamed 'passed down through generations of local legend. It was said that a bolt of lightning had struck the'
+streamed 'd down through generations of local legend. It was said that a bolt of lightning had struck the rock'
+streamed 'ough generations of local legend. It was said that a bolt of lightning had struck the rock centuries'
+streamed ' generations of local legend. It was said that a bolt of lightning had struck the rock centuries ago'
+streamed 'generations of local legend. It was said that a bolt of lightning had struck the rock centuries ago,'
+streamed 'rations of local legend. It was said that a bolt of lightning had struck the rock centuries ago, imb'
+streamed 'ons of local legend. It was said that a bolt of lightning had struck the rock centuries ago, imbuing'
+streamed ' of local legend. It was said that a bolt of lightning had struck the rock centuries ago, imbuing it'
+streamed 'ocal legend. It was said that a bolt of lightning had struck the rock centuries ago, imbuing it with'
+streamed 'al legend. It was said that a bolt of lightning had struck the rock centuries ago, imbuing it with a'
+streamed 'd. It was said that a bolt of lightning had struck the rock centuries ago, imbuing it with a strange'
+streamed 't was said that a bolt of lightning had struck the rock centuries ago, imbuing it with a strange and'
+streamed 'was said that a bolt of lightning had struck the rock centuries ago, imbuing it with a strange and w'
+streamed 'd that a bolt of lightning had struck the rock centuries ago, imbuing it with a strange and wondrous'
+streamed ' a bolt of lightning had struck the rock centuries ago, imbuing it with a strange and wondrous power'
+streamed 'bolt of lightning had struck the rock centuries ago, imbuing it with a strange and wondrous power.\n\n'
+streamed 't of lightning had struck the rock centuries ago, imbuing it with a strange and wondrous power.\n\nThe'
+streamed 'lightning had struck the rock centuries ago, imbuing it with a strange and wondrous power.\n\nThe rock'
+streamed 'ightning had struck the rock centuries ago, imbuing it with a strange and wondrous power.\n\nThe rock,'
+streamed 'ng had struck the rock centuries ago, imbuing it with a strange and wondrous power.\n\nThe rock, known'
+streamed 'had struck the rock centuries ago, imbuing it with a strange and wondrous power.\n\nThe rock, known as'
+streamed 'd struck the rock centuries ago, imbuing it with a strange and wondrous power.\n\nThe rock, known as "'
+streamed 'truck the rock centuries ago, imbuing it with a strange and wondrous power.\n\nThe rock, known as "The'
+streamed 'the rock centuries ago, imbuing it with a strange and wondrous power.\n\nThe rock, known as "The Heart'
+streamed 'ock centuries ago, imbuing it with a strange and wondrous power.\n\nThe rock, known as "The Heartstone'
+streamed 'k centuries ago, imbuing it with a strange and wondrous power.\n\nThe rock, known as "The Heartstone,"'
+streamed 'nturies ago, imbuing it with a strange and wondrous power.\n\nThe rock, known as "The Heartstone," was'
+streamed 'uries ago, imbuing it with a strange and wondrous power.\n\nThe rock, known as "The Heartstone," was a'
+streamed ' ago, imbuing it with a strange and wondrous power.\n\nThe rock, known as "The Heartstone," was a deep'
+streamed 'ago, imbuing it with a strange and wondrous power.\n\nThe rock, known as "The Heartstone," was a deep,'
+streamed 'imbuing it with a strange and wondrous power.\n\nThe rock, known as "The Heartstone," was a deep, rich'
+streamed 'g it with a strange and wondrous power.\n\nThe rock, known as "The Heartstone," was a deep, rich brown'
+streamed 'ith a strange and wondrous power.\n\nThe rock, known as "The Heartstone," was a deep, rich brown color'
+streamed 'th a strange and wondrous power.\n\nThe rock, known as "The Heartstone," was a deep, rich brown color,'
+streamed 'strange and wondrous power.\n\nThe rock, known as "The Heartstone," was a deep, rich brown color, with'
+streamed 'e and wondrous power.\n\nThe rock, known as "The Heartstone," was a deep, rich brown color, with veins'
+streamed 'nd wondrous power.\n\nThe rock, known as "The Heartstone," was a deep, rich brown color, with veins of'
+streamed 'ous power.\n\nThe rock, known as "The Heartstone," was a deep, rich brown color, with veins of glitter'
+streamed ' power.\n\nThe rock, known as "The Heartstone," was a deep, rich brown color, with veins of glittering'
+streamed '\n\nThe rock, known as "The Heartstone," was a deep, rich brown color, with veins of glittering quartz'
+streamed ' rock, known as "The Heartstone," was a deep, rich brown color, with veins of glittering quartz that'
+streamed 'known as "The Heartstone," was a deep, rich brown color, with veins of glittering quartz that seemed'
+streamed 'wn as "The Heartstone," was a deep, rich brown color, with veins of glittering quartz that seemed to'
+streamed '"The Heartstone," was a deep, rich brown color, with veins of glittering quartz that seemed to pulse'
+streamed 'Heartstone," was a deep, rich brown color, with veins of glittering quartz that seemed to pulse with'
+streamed 'rtstone," was a deep, rich brown color, with veins of glittering quartz that seemed to pulse with an'
+streamed 'e," was a deep, rich brown color, with veins of glittering quartz that seemed to pulse with an inner'
+streamed 's a deep, rich brown color, with veins of glittering quartz that seemed to pulse with an inner light'
+streamed ' a deep, rich brown color, with veins of glittering quartz that seemed to pulse with an inner light.'
+streamed 'deep, rich brown color, with veins of glittering quartz that seemed to pulse with an inner light. It'
+streamed 'rich brown color, with veins of glittering quartz that seemed to pulse with an inner light. It stood'
+streamed 'brown color, with veins of glittering quartz that seemed to pulse with an inner light. It stood tall'
+streamed 'n color, with veins of glittering quartz that seemed to pulse with an inner light. It stood tall and'
+streamed 'r, with veins of glittering quartz that seemed to pulse with an inner light. It stood tall and proud'
+streamed ', with veins of glittering quartz that seemed to pulse with an inner light. It stood tall and proud,'
+streamed 'with veins of glittering quartz that seemed to pulse with an inner light. It stood tall and proud, a'
+streamed 's of glittering quartz that seemed to pulse with an inner light. It stood tall and proud, a sentinel'
+streamed 'f glittering quartz that seemed to pulse with an inner light. It stood tall and proud, a sentinel of'
+streamed 'ittering quartz that seemed to pulse with an inner light. It stood tall and proud, a sentinel of the'
+streamed 'g quartz that seemed to pulse with an inner light. It stood tall and proud, a sentinel of the forest'
+streamed 'tz that seemed to pulse with an inner light. It stood tall and proud, a sentinel of the forest floor'
+streamed 'z that seemed to pulse with an inner light. It stood tall and proud, a sentinel of the forest floor,'
+streamed 'at seemed to pulse with an inner light. It stood tall and proud, a sentinel of the forest floor, and'
+streamed 'eemed to pulse with an inner light. It stood tall and proud, a sentinel of the forest floor, and was'
+streamed 'eemed to pulse with an inner light. It stood tall and proud, a sentinel of the forest floor, and was'
+streamed 'eemed to pulse with an inner light. It stood tall and proud, a sentinel of the forest floor, and was'
+streamed 'eemed to pulse with an inner light. It stood tall and proud, a sentinel of the forest floor, and was'
streamed final
-The old geologist, Professor Thompson, had spent his entire career studying the ancient rocks of the Appalachian Mountains. He had seen it all - the fossilized trilobites, the quartz crystals, the veins of gold. But nothing had ever fascinated him more than the strange, glowing rock he had discovered deep in the heart of the mountains.
+In the heart of the ancient forest, there was a peculiar rock formation that had been passed down through generations of local legend. It was said that a bolt of lightning had struck the rock centuries ago, imbuing it with a strange and wondrous power.
-It was a peculiar thing, this rock. It looked like any other granite, but when Professor Thompson held it up to the light, he could swear
-
Teardown
PASSED test_aws_bedrock_invalid_region 0:00:00.005549
PASSED test_serialization_exception 0:00:00.437666
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".
+The rock, known as "The Heartstone," was a deep, rich brown color, with veins of glittering quartz that seemed to pulse with an inner light. It stood tall and proud, a sentinel of the forest floor, and was
+
Teardown
PASSED test_aws_bedrock_invalid_region 0:00:00.005544
PASSED test_serialization_exception 0:00:01.364374
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.528396
Setup
Call
Captured stdout call
streamed nonce=None nonce2=None
+
Teardown
PASSED test_stream_serialization_exception 0:00:00.500441
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
@@ -408,9 +657,9 @@
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".
+Exception message: <ExceptionInfo BamlValidationError(message=Failed to parse LLM response: Failed to coerce value: <root>: Failed while parsing require...g required field: nonce2, raw_output=Hello there! How can I help you today?, prompt=[chat] system: Say "hello there".
) tblen=3>
-
Teardown
PASSED test_stream2_serialization_exception 0:00:01.058700
Setup
Call
Captured stdout call
streamed nonce=None nonce2=None nonce3=None
+
Teardown
PASSED test_stream2_serialization_exception 0:00:00.413288
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
@@ -425,36 +674,59 @@
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...required field: nonce3, raw_output=Hello there! How can I assist you today?, prompt=[chat] system: Say "hello there".
) tblen=3>
-
Teardown
PASSED test_descriptions 0:00:06.361985
FAILED test_caching 0:00:06.736878
AssertionError: 3.5142571926116943 < 3.2215769290924072. Expected second call to be faster than first by a large margin.
-assert 3.5142571926116943 < 3.2215769290924072
Setup
Call
> ???
-E AssertionError: 3.5142571926116943 < 3.2215769290924072. Expected second call to be faster than first by a large margin.
-E assert 3.5142571926116943 < 3.2215769290924072
+
Teardown
PASSED test_descriptions 0:00:06.557638
FAILED test_caching 0:00:07.004457
AssertionError: 3.624055862426758 < 3.379484176635742. Expected second call to be faster than first by a large margin.
+assert 3.624055862426758 < 3.379484176635742
Setup
Call
@pytest.mark.asyncio
+ async def test_caching():
+ story_idea = f"""
+ In a futuristic world where dreams are a marketable asset and collective experience, an introverted and socially inept teenager named Alex realizes they have a unique and potent skill to not only observe but also alter the dreams of others. Initially excited by this newfound talent, Alex starts discreetly modifying the dreams of peers and relatives, aiding them in conquering fears, boosting self-esteem, or embarking on fantastical journeys. As Alex's abilities expand, so does their sway. They begin marketing exclusive dream experiences on the underground market, designing complex and captivating dreamscapes for affluent clients. However, the boundary between dream and reality starts to fade for those subjected to Alex's creations. Some clients find it difficult to distinguish between their genuine memories and the fabricated ones inserted by Alex's dream manipulation.
+
+ Challenges emerge when a secretive government organization becomes aware of Alex's distinct talents. They propose Alex utilize their gift for "the greater good," suggesting uses in therapy, criminal reform, and even national defense. Concurrently, a covert resistance group contacts Alex, cautioning them about the risks of dream manipulation and the potential for widespread control and exploitation. Trapped between these conflicting forces, Alex must navigate a tangled web of moral dilemmas. They wrestle with issues of free will, the essence of consciousness, and the duty that comes with having influence over people's minds. As the repercussions of their actions ripple outward, impacting the lives of loved ones and strangers alike, Alex is compelled to face the true nature of their power and decide how—or if—it should be wielded.
+
+ The narrative investigates themes of identity, the subconscious, the ethics of technology, and the power of creativity. It explores the possible outcomes of a world where our most intimate thoughts and experiences are no longer truly our own, and scrutinizes the fine line between aiding others and manipulating them for personal benefit or a perceived greater good. The story further delves into the societal ramifications of such abilities, questioning the moral limits of altering consciousness and the potential for misuse in a world where dreams can be commercialized. It challenges the reader to contemplate the impact of technology on personal freedom and the ethical duties of those who wield such power.
+
+ As Alex's journey progresses, they meet various individuals whose lives have been influenced by their dream manipulations, each offering a distinct viewpoint on the ethical issues at hand. From a peer who gains newfound confidence to a wealthy client who becomes dependent on the dreamscapes, the ripple effects of Alex's actions are significant and extensive. The government agency's interest in Alex's abilities raises questions about the potential for state control and surveillance, while the resistance movement underscores the dangers of unchecked power and the necessity of protecting individual freedoms.
+
+ Ultimately, Alex's story is one of self-discovery and moral reflection, as they must choose whether to use their abilities for personal gain, align with the government's vision of a controlled utopia, or join the resistance in their struggle for freedom and autonomy. The narrative encourages readers to reflect on the nature of reality, the boundaries of human experience, and the ethical implications of a world where dreams are no longer private sanctuaries but shared and manipulated commodities. It also examines the psychological impact on Alex, who must cope with the burden of knowing the intimate fears and desires of others, and the isolation that comes from being unable to share their own dreams without altering them.
+
+ The story further investigates the technological progress that has made dream manipulation feasible, questioning the role of innovation in society and the potential for both advancement and peril. It considers the societal divide between those who can afford to purchase enhanced dream experiences and those who cannot, highlighting issues of inequality and access. As Alex becomes more ensnared in the web of their own making, they must confront the possibility that their actions could lead to unintended consequences, not just for themselves but for the fabric of society as a whole.
+
+ In the end, Alex's journey is a cautionary tale about the power of dreams and the responsibilities that come with wielding such influence. It serves as a reminder of the importance of ethical considerations in the face of technological advancement and the need to balance innovation with humanity. The story leaves readers pondering the true cost of a world where dreams are no longer sacred, and the potential for both wonder and danger in the uncharted territories of the mind. But it's also a story about the power of imagination and the potential for change, even in a world where our deepest thoughts are no longer our own. And it's a story about the power of choice, and the importance of fighting for the freedom to dream.
+
+ In conclusion, this story is a reflection on the power of dreams and the responsibilities that come with wielding such influence. It serves as a reminder of the importance of ethical considerations in the face of technological advancement and the need to balance innovation with humanity. The story leaves readers pondering the true cost of a world where dreams are no longer sacred, and the potential for both wonder and danger in the uncharted territories of the mind. But it's also a story about the power of imagination and the potential for change, even in a world where our deepest thoughts are no longer our own. And it's a story about the power of choice, and the importance of fighting for the freedom to dream.
+ """
+ rand = uuid.uuid4().hex
+ story_idea = rand + story_idea
+
+ start = time.time()
+ _ = await b.TestCaching(story_idea, "1. try to be funny")
+ duration = time.time() - start
+
+ start = time.time()
+ _ = await b.TestCaching(story_idea, "1. try to be funny")
+ duration2 = time.time() - start
+
+ print("Duration no caching: ", duration)
+ print("Duration with caching: ", duration2)
+
+> assert (
+ duration2 < duration
+ ), f"{duration2} < {duration}. Expected second call to be faster than first by a large margin."
+E AssertionError: 3.624055862426758 < 3.379484176635742. Expected second call to be faster than first by a large margin.
+E assert 3.624055862426758 < 3.379484176635742
-tests/test_functions.py:1271: AssertionError
Captured stdout call
Duration no caching: 3.2215769290924072
-Duration with caching: 3.5142571926116943
-
Teardown
PASSED test_arg_exceptions 0:00:00.796212
Setup
Call
Captured stderr call
[2024-12-04T06:33:21Z ERROR baml_runtime::tracing] Error: input: Expected type String, got `Number(111)`
+tests/test_functions.py:1271: AssertionError
Captured stdout call
Duration no caching: 3.379484176635742
+Duration with caching: 3.624055862426758
+
Teardown
PASSED test_arg_exceptions 0:00:01.166600
Setup
Call
Captured stderr call
[2024-12-13T14:24:40Z ERROR baml_runtime::tracing] Error: input: Expected type String, got `Number(111)`
-
Teardown
PASSED test_map_as_param 0:00:00.001158
Setup
Call
Captured stderr call
[2024-12-04T06:33:21Z ERROR baml_runtime::tracing] Error: myMap: a: Expected map, got `String("b")`
+
Teardown
PASSED test_map_as_param 0:00:00.001121
Setup
Call
Captured stderr call
[2024-12-13T14:24:41Z ERROR baml_runtime::tracing] Error: myMap: a: Expected map, got `String("b")`
-
Teardown
PASSED test_baml_validation_error_format 0:00:00.384686
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
+
Teardown
PASSED test_baml_validation_error_format 0:00:00.476185
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 help you today?, prompt=[chat] system: Say "hello there".
+ - <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:00.523697
PASSED test_no_stream_object_with_numbers 0:00:00.483117
PASSED test_no_stream_compound_object 0:00:06.729537
PASSED test_no_stream_compound_object_with_yapping 0:00:05.083854
PASSED test_differing_unions 0:00:02.546719
PASSED test_return_failing_assert 0:00:00.302599
PASSED test_parameter_failing_assert 0:00:00.001364
Setup
Call
Captured stderr call
[2024-12-04T06:33:37Z ERROR baml_runtime::tracing] Error: inp: Failed assert: small_int
+
Teardown
PASSED test_no_stream_big_integer 0:00:00.625432
PASSED test_no_stream_object_with_numbers 0:00:00.461699
PASSED test_no_stream_compound_object 0:00:04.063495
PASSED test_no_stream_compound_object_with_yapping 0:00:16.651412
PASSED test_differing_unions 0:00:00.809205
PASSED test_return_failing_assert 0:00:00.351492
PASSED test_parameter_failing_assert 0:00:00.001113
Setup
Call
Captured stderr call
[2024-12-13T14:25:05Z ERROR baml_runtime::tracing] Error: inp: Failed assert: small_int
-
Teardown
PASSED test_failing_assert_can_stream 0:00:02.397616
Setup
Call
Captured stdout call
None
-None
-None
-None
-None
-None
-None
-None
-None
-None
-None
-None
-None
+
Teardown
PASSED test_failing_assert_can_stream 0:00:03.925711
Setup
Call
Captured stdout call
None
None
None
None
@@ -1080,9 +1352,9 @@
None
None
None
-
Teardown
PASSED test_simple_recursive_type 0:00:02.784238
PASSED test_mutually_recursive_type 0:00:02.297518
PASSED test_block_constraints 0:00:00.800160
PASSED test_nested_block_constraints 0:00:00.603441
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.001755
Setup
Call
Captured stderr call
[2024-12-04T06:33:46Z ERROR baml_runtime::tracing] Error: inp: Failed assert: hi
+
Teardown
PASSED test_simple_recursive_type 0:00:02.897785
PASSED test_mutually_recursive_type 0:00:02.089253
PASSED test_block_constraints 0:00:00.576212
PASSED test_nested_block_constraints 0:00:00.518378
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.001701
Setup
Call
Captured stderr call
[2024-12-13T14:25:15Z ERROR baml_runtime::tracing] Error: inp: Failed assert: hi
-[2024-12-04T06:33:46Z ERROR baml_runtime::tracing] Error: inp: Failed assert: hi
+[2024-12-13T14:25:15Z ERROR baml_runtime::tracing] Error: inp: Failed assert: hi
-
Teardown
tests/test_pydantic.py 3 0:00:00.003358
PASSED test_model_validate_success 0:00:00.001464
PASSED test_model_validate_failure 0:00:00.000840
PASSED test_model_dump 0:00:00.001054