__init__.py 856 B

1234567891011121314151617181920212223
  1. """A message protocol for the internal service process.
  2. The core of W&B is implemented by a side process that asynchronously uploads
  3. data. The client process (such as this Python code) sends requests to the
  4. service, and for some requests, the service eventually sends a response.
  5. The client can send multiple requests before the service provides a response.
  6. The Mailbox handles matching responses to requests. An internal thread
  7. continuously reads data from the service and passes it to the mailbox.
  8. """
  9. from .mailbox import Mailbox, MailboxClosedError
  10. from .mailbox_handle import HandleAbandonedError, MailboxHandle
  11. from .wait_with_progress import wait_all_with_progress, wait_with_progress
  12. __all__ = [
  13. "Mailbox",
  14. "MailboxClosedError",
  15. "HandleAbandonedError",
  16. "MailboxHandle",
  17. "wait_all_with_progress",
  18. "wait_with_progress",
  19. ]