Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
softs
Logo
  • Quickstart
  • Architecture
  • Basic Distillation
  • Model Switching & Cancel
  • API Reference
    • Broker
    • Supplier
    • Client
    • Dataset & DataLoader
    • Configuration
    • Transfer Mediums
    • Activation Catcher
Back to top
View this page

Supplier¶

class softs.Supplier[source]¶
__init__(generator_fn, product_ids, endpoint, medium_cls, slot_size, send_timeout_ms=10000)[source]¶
Parameters:
  • generator_fn (Callable[[str], bytes])

  • product_ids (list[str])

  • endpoint (str)

  • medium_cls (type[Medium])

  • slot_size (int)

  • send_timeout_ms (int)

start()[source]¶
Return type:

None

stop()[source]¶
Return type:

None

Next
Client
Previous
Broker
Copyright © 2025, Ayoub G.
Made with Sphinx and @pradyunsg's Furo
On this page
  • Supplier
    • Supplier
      • Supplier.__init__()
      • Supplier.start()
      • Supplier.stop()