in elastic_enterprise_search/exceptions.py [0:0]
def status(self) -> int:
warnings.warn(
"ApiError.status is deprecated in favor of ApiError.meta.status",
category=DeprecationWarning,
stacklevel=2,
)
return self.meta.status