0

I was looking at the Faust docs and I came across syntax for defining class templates (value objects?) in Python that I'd never seen before, and I cannot find any reference to them anywhere I look.

The syntax is:

class Order(faust.Record):
    account_id: str
    amount: int

I really enjoy its simplicity and declarative typing, but I cannot find any documentation on it. Can you help?

Pranav Hosangadi
  • 23,755
  • 7
  • 44
  • 70
Bill Brown
  • 41
  • 5

0 Answers0