ben
08/03/2022, 4:04 PMAnna Geller
ben
08/03/2022, 4:06 PMAnna Geller
Anna Geller
Anna Geller
ben
08/03/2022, 4:07 PMAnna Geller
Anna Geller
Anna Geller
Anna Geller
Anna Geller
ben
08/03/2022, 4:10 PMben
08/03/2022, 4:10 PMben
08/03/2022, 4:13 PMben
08/03/2022, 4:18 PMAnna Geller
<smb://myuser:mypassword@myserver.com/your_base_path_dir/>
and then once you get that working, you can build a specific block for SMB by moving the sensitive data like username, password, host to "settings" variables on the settings dict
it then should work
it would be hard for me to contribute since I don't have access to such system to properly test and QA this, but if you contribute, feel free to tag or ping me for review 🙌Anna Geller
ben
08/03/2022, 4:33 PMben
08/04/2022, 4:18 PM<block>.load(...)
the block data from inside of the script.
But, if I try to using deployment build -sb smb/<name>
I get the following:
"ValueError: Unable to find block document named test-smb for block type SMB"
Am I correct in assuming that to use my currently-custom block with -sb
it needs to be registered somewhere I don't have access to? Or is it something I should be able to reference, even if it's not an official storage block in Prefect 2.0 at the moment?
I did register it with: https://docs.prefect.io/concepts/blocks/#registering-blocks
EDIT: Obviously before I do any sort of pull request I'll follow the contributor guide, but just trying to thinker my way through it at the moment.
EDIT 2: I also do see "SMB" in the "Type" drop down in the web UI (I've been digging through the prefect code based on stack traces looking for where that is pulled from).
EDIT 3: One difference I can see between my storage block and others is that mine does not list any capabilities. While others, like S3, show "read-path" and "write-path".Anna Geller
ben
08/09/2022, 11:20 PMAnna Geller