Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[AutoPR] TODO use jsonpath_ng instead #131

Open
Labels
@github-actions

Description

@github-actions

TODO use jsonpath_ng instead

classContextDict(dict[ContextVarName,Any]):
defget_path(self,path:ContextVarPath)->Any:
"""
Get a value from the context by path (e.g., `pull_request.title`).
"""
# TODO use jsonpath_ng instead
path_parts=path.split(".")
value=self
try:
forpartinpath_parts:
ifisinstance(value,pydantic.BaseModel):

To resolve this TODO, you can start by replacing the existing code that uses jsonpath with the jsonpath_ng library. Make sure to update any necessary imports and modify the code to use the new library's syntax and functionality. Test the changes thoroughly to ensure they work as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp