@@ -320,11 +320,6 @@ def opset(self) -> Opset:
320
320
def op_schema (self ) -> Optional [onnx .defs .OpSchema ]:
321
321
return self ._op_schema
322
322
323
- @deprecation .deprecated (
324
- since = "0.1" ,
325
- removed_in = "the future" ,
326
- instructions = "check if '.op_schema' is not None instead" ,
327
- )
328
323
def has_schema (self ) -> bool :
329
324
"""Returns True if this op has an OpSchema."""
330
325
return self .op_schema is not None
@@ -345,11 +340,6 @@ def op_signature(self) -> Optional[_schemas.OpSignature]:
345
340
def op_signature (self , value : _schemas .OpSignature ):
346
341
self ._signature = value
347
342
348
- @deprecation .deprecated (
349
- since = "0.1" ,
350
- removed_in = "the future" ,
351
- instructions = "use '.op_signature' instead" ,
352
- )
353
343
def param_schemas (self ) -> Optional [tuple [ParamSchema , ...]]:
354
344
"""Returns the parameter schemas for this op, if it has one."""
355
345
if self ._param_schemas is not None :
@@ -583,11 +573,6 @@ def __call__(self, *args: _P.args, **kwargs: _P.kwargs) -> _R:
583
573
def __repr__ (self ) -> str :
584
574
return f"{ self .__class__ .__name__ } ({ self .function !r} )"
585
575
586
- @deprecation .deprecated (
587
- since = "0.1" ,
588
- removed_in = "the future" ,
589
- instructions = "use '.op_signature' instead" ,
590
- )
591
576
def param_schemas (self ) -> tuple [ParamSchema , ...]:
592
577
"""Returns the parameter schemas of this function."""
593
578
if self ._param_schemas is not None :
@@ -691,11 +676,6 @@ def op_signature(self) -> Optional[_schemas.OpSignature]:
691
676
def op_signature (self , value : _schemas .OpSignature ):
692
677
self ._signature = value
693
678
694
- @deprecation .deprecated (
695
- since = "0.1" ,
696
- removed_in = "the future" ,
697
- instructions = "use '.op_signature' instead" ,
698
- )
699
679
def param_schemas (self ) -> tuple [ParamSchema , ...]:
700
680
"""Returns the parameter schemas of this function."""
701
681
if self ._param_schemas is not None :
0 commit comments