Just as an FYI: If you edit a block and save it, e...
# prefect-community
t
Just as an FYI: If you edit a block and save it, empty fields are saved as empty strings. This works out fine most of the time, but the AWS credentials block does not work because (from the boto3 session.py):
Copy code
if profile_name is None:
            return profile_map.get('default', {})
        elif profile_name not in profile_map:
            ....
So if you do not want to use a profile you have to overwrite
profile_name
manually with
None
in your code and then save it again. A fix would be, as an example, a checkbox next to nullable fields to set this field to null.
1
j
That’s a good idea, Tim. are you able to open an issue proposing it at the repo?
t
Sure! Will do.
🙏 1
👍 1