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

cli: more loading refactoring #53

Closed
wants to merge 2 commits into from
Closed

cli: more loading refactoring #53

wants to merge 2 commits into from

Conversation

krzysztof
Copy link
Member

  • Adds option for loading just a single record (by recid) from the dumps.

Signed-off-by: Krzysztof Nowak k.nowak@cern.ch

"""Common helper function for load simple objects.

Note: Extra `args` and `kwargs` are passed to the `load_task` function.
NOTE: `task_args` and `task_kwargs` are passed to the `load_task`
Copy link
Member

Choose a reason for hiding this comment

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

could you use .. note:: instead of NOTE:? :)
See also line 154.

Copy link
Member Author

Choose a reason for hiding this comment

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

Nessun problema!

* Adds option for single-record loading to generic loader method.

Signed-off-by: Krzysztof Nowak <k.nowak@cern.ch>
@krzysztof krzysztof changed the title cli: loading refactoring cli: more loading refactoring Sep 2, 2016
@lnielsen
Copy link
Member

lnielsen commented Sep 2, 2016

Can you rebase?

@krzysztof
Copy link
Member Author

@lnielsen It's rebased, the "cli refactoring" commit is a different refactoring, I intended to have two in previous commit but somehow it got merged before.

* Missing user IDs are now handled by setting them as null on the SIP.

Signed-off-by: Krzysztof Nowak <k.nowak@cern.ch>
@lnielsen lnielsen self-assigned this Sep 2, 2016
@lnielsen lnielsen added this to the v1.0.0 milestone Sep 2, 2016
@lnielsen
Copy link
Member

lnielsen commented Sep 2, 2016

Branch is still out of date.

@krzysztof
Copy link
Member Author

Spooky stuff happened with this PR

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.

None yet

3 participants