Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make home_directory_mappings arg for Transfer's create_user() optional #7957

Merged
merged 1 commit into from
Aug 10, 2024

Conversation

jenstroeger
Copy link
Contributor

@jenstroeger jenstroeger commented Aug 9, 2024

Related issue #7790 and PR #7891, in particular comment #7891 (comment). Tagging @bblommers and @armichaud.

The HomeDirectoryMappings argument for the Transfer client’s create_user() function is not marked as required, i.e. it’s optional, and should be typed & handled as such. Docs here.

Refs: 416e304

Copy link

codecov bot commented Aug 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.36%. Comparing base (cde9dfb) to head (25c66fa).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #7957   +/-   ##
=======================================
  Coverage   94.36%   94.36%           
=======================================
  Files        1120     1120           
  Lines       96060    96064    +4     
=======================================
+ Hits        90646    90650    +4     
  Misses       5414     5414           
Flag Coverage Δ
servertests 28.95% <0.00%> (-0.01%) ⬇️
unittests 94.33% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bblommers bblommers added this to the 5.0.13 milestone Aug 10, 2024
Copy link
Collaborator

@bblommers bblommers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense - thanks for the fix @jenstroeger!

@bblommers bblommers merged commit a1eebda into getmoto:master Aug 10, 2024
45 checks passed
Copy link
Contributor

This is now part of moto >= 5.0.13.dev32

@jenstroeger
Copy link
Contributor Author

Thank you @bblommers — do you know when v5.0.13 will be released?

@bblommers
Copy link
Collaborator

@jenstroeger There is nothing set in stone yet, but I'll can probably get that done next weekend.

@jenstroeger
Copy link
Contributor Author

There is nothing set in stone yet, but I'll can probably get that done next weekend.

That’d be great, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants