lsp-cli 0.1.6

Command-line tool for talking to Language Server Protocol (LSP) servers from the terminal.
1
2
3
4
5
6
7
8
9
10
11
from app.models import Order, OrderItem


def build_sample_order() -> Order:
    return Order(
        customer="Matz",
        items=[
            OrderItem(name="Book", quantity=2, price=12.0),
            OrderItem(name="Sticker", quantity=4, price=1.5),
        ],
    )