opendp icon indicating copy to clipboard operation
opendp copied to clipboard

Context API: edge-case where chaining fails

Open Shoeboxam opened this issue 11 months ago • 2 comments

Traceback (most recent call last):
  File "/Users/michael/openDP/openDP/.binder/out/2024/demo-drifting-spaces.py", line 24, in <module>
    subcontext.query().laplace()
  File "/Users/michael/openDP/openDP/python/src/opendp/context.py", line 422, in make
    new_chain = self._chain >> new_chain
                ~~~~~~~~~~~~^^~~~~~~~~~~
TypeError: unsupported operand type(s) for >>: 'tuple' and 'PartialChain'

This is a side-issue that I encountered in the script from #1375

Shoeboxam avatar Mar 13 '24 14:03 Shoeboxam