Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
lhk
/
test_model
like
0
License:
cc-by-4.0
Model card
Files
Files and versions
xet
Community
Copy to bucket
new
lhk
commited on
Jun 12, 2023
Commit
2634718
·
1 Parent(s):
e383ca7
Update mock.py
Browse files
Files changed (1)
hide
show
mock.py
+6
-1
mock.py
CHANGED
Viewed
@@ -1,2 +1,7 @@
1
class MockedFlow:
2
-
pass
1
class MockedFlow:
2
+
def __init__(self, **kwargs):
3
+
self.flow_type="mocked"
4
+
5
+
@classmethod
6
+
def instantiate(cls, config):
7
+
return cls(**config)