Skip to content

poutine.block does not work in Python 3.10 #3095

@fehiepsi

Description

@fehiepsi

Reproducible code

from pyro import poutine

class A:
    @poutine.block
    def run(self):
        return 1

a = A()
a.run()  # error

This causes the issue #3018

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions