-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
questionFurther information is requestedFurther information is requested
Description
dlt version
0.4.12
Describe the problem
I'm getting this error trying to generate the pipeline for Sentry
/Users/azra/Perforce/sentry-dlt/venv/lib/python3.9/site-packages/questionary/prompts/common.py:490 in create_inquirer_layout │
│ │
│ 487 │ """Create a layout combining question and inquirer selection.""" │
│ 488 │ │
│ 489 │ ps = PromptSession(get_prompt_tokens, reserve_space_for_menu=0, **kwargs) │
│ ❱ 490 │ _fix_unecessary_blank_lines(ps) │
│ 491 │ │
│ 492 │ validation_prompt = PromptSession(bottom_toolbar=lambda: ic.error_message, **kwargs) │
│ 493 │
│ │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │ ic = <repr-error 'maximum recursion depth exceeded while getting the repr of an object'> │ │
│ │ kwargs = {} │ │
│ │ ps = <prompt_toolkit.shortcuts.prompt.PromptSession object at 0x10f3dfbe0> │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /Users/azra/Perforce/sentry-dlt/venv/lib/python3.9/site-packages/questionary/prompts/common.py:472 in _fix_unecessary_blank_lines │
│ │
│ 469 │ default_container = ps.layout.container │
│ 470 │ │
│ 471 │ default_buffer_window = ( │
│ ❱ 472 │ │ default_container.get_children()[0].content.get_children()[1].content │
│ 473 │ ) │
│ 474 │ │
│ 475 │ assert isinstance(default_buffer_window, Window) │
│ │
│ ╭───────────────────────────────────────── locals ──────────────────────────────────────────╮ │
│ │ default_container = <prompt_toolkit.layout.containers.HSplit object at 0x10f40ce80> │ │
│ │ ps = <prompt_toolkit.shortcuts.prompt.PromptSession object at 0x10f3dfbe0> │ │
│ ╰───────────────────────────────────────────────────────────────────────────────────────────╯ │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
AttributeError: 'VSplit' object has no attribute 'content'
Expected behavior
Generated pipeline
Steps to reproduce
dlt-init-openapi sentry --url https://raw.githubusercontent.com/getsentry/sentry-api-schema/main/openapi-derefed.json --global-limit 2
Operating system
macOS
Runtime environment
Local
Python version
3.9
dlt data source
Sentry
dlt destination
No response
Other deployment details
I've also tried Python 13
Additional information
No response
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested
Type
Projects
Status
Todo