Fix callseq deduplication error, allow using Some|None=None args with no commutativity error, add ignore_basictypes_return for a ConversionPoint.from_fn
This commit is contained in:
@@ -17,7 +17,7 @@ type optC = str
|
||||
|
||||
|
||||
def test_default_consumer_args():
|
||||
repo = ConvRepo()
|
||||
repo = ConvRepo(store_sources=True)
|
||||
|
||||
@repo.mark_injector()
|
||||
def b_to_a(b: B) -> A:
|
||||
@@ -106,3 +106,13 @@ def test_pipeline_with_subgraph_duplicates():
|
||||
assert b_to_a_calls[0] == 1
|
||||
assert cons1_calls[0] == 5
|
||||
assert cons2_calls[0] == 4
|
||||
|
||||
|
||||
def convertor(_5891515089754: "<class 'test_pipeline.B'>"):
|
||||
# <function test_default_consumer_args.<locals>.b_to_a at 0x7f5bb1be02c0>
|
||||
_5891515089643 = _conv_funcmap[8751987548204](b=_5891515089754)
|
||||
# <function test_default_consumer_args.<locals>.consumer1 at 0x7f5bb1be0c20>
|
||||
_8751987542640 = _conv_funcmap[8751987548354](dep=_5891515089643)
|
||||
# <function test_default_consumer_args.<locals>.consumer2 at 0x7f5bb1be0540>
|
||||
_8751987537115 = _conv_funcmap[8751987548244](dep=_5891515089643, dep1=_8751987542640)
|
||||
return _8751987542640
|
||||
Reference in New Issue
Block a user