Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /autonomi-ai_nos /tests /common /test_common_metaclass.py
| from nos.common.metaclass import SingletonMetaclass | |
| def test_singleton_metaclass(): | |
| class Foo(metaclass=SingletonMetaclass): | |
| pass | |
| foo1 = Foo() | |
| foo2 = Foo() | |
| assert foo1 is foo2 | |
Xet Storage Details
- Size:
- 203 Bytes
- Xet hash:
- e4beb830cbee1db2f48badad438fa3270db24299c103ea33818bd825bed66c8e
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.