diff --git a/onnxscript/values.py b/onnxscript/values.py index 266f7da571..1897ae14d5 100644 --- a/onnxscript/values.py +++ b/onnxscript/values.py @@ -320,11 +320,6 @@ def opset(self) -> Opset: def op_schema(self) -> Optional[onnx.defs.OpSchema]: return self._op_schema - @deprecation.deprecated( - since="0.1", - removed_in="the future", - instructions="check if '.op_schema' is not None instead", - ) def has_schema(self) -> bool: """Returns True if this op has an OpSchema.""" return self.op_schema is not None @@ -345,11 +340,6 @@ def op_signature(self) -> Optional[_schemas.OpSignature]: def op_signature(self, value: _schemas.OpSignature): self._signature = value - @deprecation.deprecated( - since="0.1", - removed_in="the future", - instructions="use '.op_signature' instead", - ) def param_schemas(self) -> Optional[tuple[ParamSchema, ...]]: """Returns the parameter schemas for this op, if it has one.""" if self._param_schemas is not None: @@ -583,11 +573,6 @@ def __call__(self, *args: _P.args, **kwargs: _P.kwargs) -> _R: def __repr__(self) -> str: return f"{self.__class__.__name__}({self.function!r})" - @deprecation.deprecated( - since="0.1", - removed_in="the future", - instructions="use '.op_signature' instead", - ) def param_schemas(self) -> tuple[ParamSchema, ...]: """Returns the parameter schemas of this function.""" if self._param_schemas is not None: @@ -691,11 +676,6 @@ def op_signature(self) -> Optional[_schemas.OpSignature]: def op_signature(self, value: _schemas.OpSignature): self._signature = value - @deprecation.deprecated( - since="0.1", - removed_in="the future", - instructions="use '.op_signature' instead", - ) def param_schemas(self) -> tuple[ParamSchema, ...]: """Returns the parameter schemas of this function.""" if self._param_schemas is not None: