-
Notifications
You must be signed in to change notification settings - Fork 16
Add a copy function to copy values from one target location to another. #13
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
base: develop
Are you sure you want to change the base?
Conversation
|
@tlsproxy I see you closed this PR. I haven't yet had a look at it though. What is the reaason for closing your PR? |
Later, I reflected on it. I'm not quite sure if this is a universal requirement. Since your library also provides the ability to define custom functions, I closed it. My actual scenario is to convert the data structure exported from the data annotation platform into the data structure required for model fine - tuning. I need to flatten the structure fields (integrate multi - level fields). Now I've reopened it. You can decide whether to close or merge it. |
|
Thanks for your explanation. I'm not sure either if this is a common need, I need to think this through a bit. You can currently only access data relative to the point where you are right now, but not from "somewhere else". There may be need to get data from a different place, like reading some config property from the root of the object or so. I'm not sure whether |
If getAbs can obtain data starting from the root node of the original data regardless of any other processing methods used before it, I think it can meet my needs. In fact, initially, I was wondering if there was a function similar to "parent" that would allow me to search upwards. Later, I realized that the function could only get the processing result of the previous function, so I gave up and resorted to the passing method. This is my current requirement. If you're not sure, I think we can wait and see if others have similar needs. For now, I'll use it in this way. Thank you. |
|
Thanks. You would indeed be able to get some data starting from the root. One option would be a |

Hello, I encountered a problem when using this tool. I am unable to obtain field contents across levels to create a new structure. For example, integration of fields across levels, as follows:
copy
Copy the values into the target fields.
Examples: