Skip to content

background_callback is deprecated and will be removed in 1.0, use hooks instead #11

Description

@UrbanskiDawid

please update (remove?)

FuturesSession - WARNING - sessions.py:94 - background_callback is deprecated and will be removed in 1.0, use hooks instead

def emit(self, record):
    try:
        payload = self.format(record)
        session.post(self.url, data=payload, background_callback=bg_cb)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions