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: patch-diff.githubusercontent.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:99c07b29-fa80-4759-5d71-b95a222f8424 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8012:1CD5:63066:7DEEF:698D3D59 |
| html-safe-nonce | c9698e6d35b19eeee60ee66dd7e3bff6f1f4fcde076bb1c7d60eb1fd2e82353d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDEyOjFDRDU6NjMwNjY6N0RFRUY6Njk4RDNENTkiLCJ2aXNpdG9yX2lkIjoiNTgxODE1NTU0MDY2OTA4NzA2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a0bf6b545c83e33c13498abf8d84e7c595c2e889f89d955dea916ee511125b69 |
| 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 | c0818105fa276287e9369cfdefa0a0fa7953719791ceff9b94d69623c0a4fe8a |
| 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 | bc912d4349851e5f32c76bbb213754e40947d7a6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width