Title: Support for lyd_new_path2 · Issue #111 · CESNET/libyang-python · GitHub
Open Graph Title: Support for lyd_new_path2 · Issue #111 · CESNET/libyang-python
X Title: Support for lyd_new_path2 · Issue #111 · CESNET/libyang-python
Description: Currently context.create_data_path uses lyd_new_path. Would be nice to use lyd_new_path2 and also return the last node created beside the parent node. If this breaks the API, maybe a new function could be provided.
Open Graph Description: Currently context.create_data_path uses lyd_new_path. Would be nice to use lyd_new_path2 and also return the last node created beside the parent node. If this breaks the API, maybe a new function c...
X Description: Currently context.create_data_path uses lyd_new_path. Would be nice to use lyd_new_path2 and also return the last node created beside the parent node. If this breaks the API, maybe a new function c...
Opengraph URL: https://github.com/CESNET/libyang-python/issues/111
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support for lyd_new_path2","articleBody":"Currently [context.create_data_path](https://github.com/CESNET/libyang-python/blob/f09ed1164d860fd9f04c008e42bbac13ccdb2ff2/libyang/context.py#L252C19-L252C31) uses `lyd_new_path`. Would be nice to use `lyd_new_path2` and also return the last node created beside the parent node.\r\n\r\nIf this breaks the API, maybe a new function could be provided.","author":{"url":"https://github.com/tbsuht","@type":"Person","name":"tbsuht"},"datePublished":"2024-03-14T13:20:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/111/libyang-python/issues/111"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:95960be4-9ddd-e76c-2528-84b5f35537c9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E960:28C591:8E8096:C80D9A:696A17E5 |
| html-safe-nonce | a240637e88dcf7005f6169c3f81393c5d31d93d22ec1d9394b0cd215bf371ae9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTYwOjI4QzU5MTo4RTgwOTY6QzgwRDlBOjY5NkExN0U1IiwidmlzaXRvcl9pZCI6Ijc5NDU1OTg4NTgzNzg3NDU4MzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 53c452ea257116c420f41aecc4e5162d797b0348a088e255c9e514296bea8a08 |
| hovercard-subject-tag | issue:2186372403 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/CESNET/libyang-python/111/issue_layout |
| twitter:image | https://opengraph.githubassets.com/880992506d1b5caca93fb1a5ee234309ddd806beb7f8e21a1c53b1300326745c/CESNET/libyang-python/issues/111 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/880992506d1b5caca93fb1a5ee234309ddd806beb7f8e21a1c53b1300326745c/CESNET/libyang-python/issues/111 |
| og:image:alt | Currently context.create_data_path uses lyd_new_path. Would be nice to use lyd_new_path2 and also return the last node created beside the parent node. If this breaks the API, maybe a new function c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tbsuht |
| hostname | github.com |
| expected-hostname | github.com |
| None | 34a52bd10bd674f68e5c1b6b74413b79bf2ca20c551055ace3f7cdd112803923 |
| turbo-cache-control | no-preview |
| go-import | github.com/CESNET/libyang-python git https://github.com/CESNET/libyang-python.git |
| octolytics-dimension-user_id | 1116469 |
| octolytics-dimension-user_login | CESNET |
| octolytics-dimension-repository_id | 275748507 |
| octolytics-dimension-repository_nwo | CESNET/libyang-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 275748507 |
| octolytics-dimension-repository_network_root_nwo | CESNET/libyang-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e8bd37502700f365b18a4d39acf7cb7947e11b1a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width