canonical / cloud-init

Official upstream for the cloud-init: cloud instance initialization
https://cloud-init.io/
Other
2.99k stars 883 forks source link

chore: fix typing of userdata_raw #5710

Closed TheRealFalcon closed 2 months ago

TheRealFalcon commented 2 months ago

Proposed Commit Message

chore: fix typing of userdata_raw

Additional Context

Test Steps

Merge type

TheRealFalcon commented 2 months ago

Where is a bytes object assigned to self.userdata_raw?

Not sure all the places, but userdata_raw is bytes when using NoCloud. Probably a few other datasources too.

Does this resolve some mypy warnings in one of our ignored files?

No, it'll probably add more tbh :smile: