-
Notifications
You must be signed in to change notification settings - Fork 116
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
Add clone statement util #132
Comments
I would think you'd also want to remove the |
Maybe "copy". The reason I had to create this was copying a collection of statements and replacing the actor with an annoymized actor so the timestamp was important to keep. I'm removing 'id' because it's not the same statement and stored because that's set by the LRS. The argument for removing authority is that the tool making the copy is asserting that anonymous person did the thing. |
Sure, but does it make more sense for the timestamp to be removed and for you to have re-assigned it in this case since you knew that you wanted it. I'm not sure it makes sense for the library to assume you'd want to keep or not keep it. Ultimately those types of questions lead to the question of whether this belongs as part of the library interface in general. There are enough different variations in how one would want to implement it that making the interface generic enough gets difficult. |
I guess it could accept a |
I created a clone statement function as part of a tool which takes statements from one LRS, modifies them and then sends them to another (with a new id). I figured it might be useful to include in this library.
The text was updated successfully, but these errors were encountered: