We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f2bdd01 + 7e1ce94 commit 414d901Copy full SHA for 414d901
docker/utils/decorators.py
@@ -1,7 +1,11 @@
1
+import functools
2
+
3
from .. import errors
4
5
6
def check_resource(f):
7
8
+ @functools.wraps(f)
9
def wrapped(self, resource_id=None, *args, **kwargs):
10
if resource_id is None:
11
if kwargs.get('container'):
0 commit comments