Hi! i just created a new prefect secret block and ...
# ask-community
h
Hi! i just created a new prefect secret block and successfully registered it for use in the prefect UI using a CLI command and .py file. However, when I try to import the module for the block using
from __prefect_loader__ import TikTokCredentials
I receive a module not found error:
ModuleNotFoundError: No module named '__prefect_loader__
. Any recommendation for how to install the module used for this block?
n
hi @Henningston Bernard - i believe
__prefect_loader__
is the placeholder module we use when we cant determine where you registered the block type from how did you register the block type?
h
I registered it through a python file
would that mean I should use a different module?
n
when you go to import your class, what happens if you just import from the module/file you registered from?