MCPcopy Create free account
hub / github.com/dask/dask / HasStaticMethods

Class HasStaticMethods

dask/tests/test_tokenize.py:797–813  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

795
796
797class HasStaticMethods:
798 def __init__(self, x):
799 self.x = x
800
801 def __dask_tokenize__(self):
802 return normalize_token(type(self)), self.x
803
804 def normal_method(self):
805 pass
806
807 @staticmethod
808 def static_method():
809 pass
810
811 @classmethod
812 def class_method(cls):
813 pass
814
815
816class HasStaticMethods2(HasStaticMethods):

Callers 1

test_staticmethodsFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_staticmethodsFunction · 0.68