)]}'
{"id":"openstack%2Foslo.context~938041","triplet_id":"openstack%2Foslo.context~master~I821ec6471ae2e7b1ce9109e4d32daf6e2221a469","project":"openstack/oslo.context","branch":"master","topic":"doc/fix-argument-in-examples","attention_set":{},"removed_from_attention_set":{"15334":{"account":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"last_update":"2025-04-04 11:39:12.000000000","reason":"\u003cGERRIT_ACCOUNT_15334\u003e replied on the change","reason_account":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"}},"9816":{"account":{"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"},"last_update":"2025-01-02 12:32:20.000000000","reason":"\u003cGERRIT_ACCOUNT_9816\u003e replied on the change","reason_account":{"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"}},"33786":{"account":{"_account_id":33786,"name":"HanGuangyu","email":"hanguangyu2@gmail.com","username":"hanguangyu"},"last_update":"2025-04-04 11:48:52.000000000","reason":"Change was submitted"}},"hashtags":[],"change_id":"I821ec6471ae2e7b1ce9109e4d32daf6e2221a469","subject":"Fix outdated argument in doc examples","status":"MERGED","created":"2024-12-19 09:49:24.000000000","updated":"2025-04-04 11:49:43.000000000","submitted":"2025-04-04 11:48:52.000000000","submitter":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"total_comment_count":6,"unresolved_comment_count":2,"has_review_started":true,"submission_id":"938041-doc/fix-argument-in-examples","meta_rev_id":"20ccff00168059cc82f7d725b1240d3c8006717d","_number":938041,"virtual_id_number":938041,"owner":{"_account_id":33786,"name":"HanGuangyu","email":"hanguangyu2@gmail.com","username":"hanguangyu"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"value":0,"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},{"value":0,"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},{"value":0,"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"},{"tag":"autogenerated:zuul:gate","value":2,"date":"2025-04-04 11:48:52.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","default_value":0,"optional":true},"Code-Review":{"approved":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"all":[{"value":2,"date":"2025-04-04 11:39:12.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},{"value":1,"date":"2025-04-04 11:39:07.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},{"value":2,"date":"2025-04-04 11:39:07.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","default_value":0,"optional":true},"Workflow":{"approved":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"all":[{"value":1,"date":"2025-04-04 11:39:12.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},{"value":0,"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},{"value":0,"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Backport-Candidate":{"all":[{"value":0,"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},{"value":0,"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},{"value":0,"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-2":"Do Not Backport","-1":"Not A Backport Candidate"," 0":"Backport Review Needed","+1":"Proposed Backport","+2":"Should Backport"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"},{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2024-12-19 09:52:46.000000000","updated_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"reviewer":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"state":"REVIEWER"},{"updated":"2024-12-25 03:46:18.000000000","updated_by":{"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"},"reviewer":{"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"},"state":"REVIEWER"},{"updated":"2025-01-08 18:37:18.000000000","updated_by":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"reviewer":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"state":"REVIEWER"},{"updated":"2025-04-04 11:36:14.000000000","updated_by":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"reviewer":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"state":"REVIEWER"}],"messages":[{"id":"ba8136247bcd54b25baf7b7ebdd2c6c7dbdceaca","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":33786,"name":"HanGuangyu","email":"hanguangyu2@gmail.com","username":"hanguangyu"},"date":"2024-12-19 09:49:24.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"90c7c9d8ff7f244aa44f6394fd708227ad549ff5","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2024-12-19 09:52:46.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/60fe51e2583a49a1b081957553870e17\n\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/f34656cc60e740b7ae0cfb7de800889c : SUCCESS in 2m 31s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/cd05ffb233094046beb500df4deefb86 : SUCCESS in 2m 16s","accounts_in_message":[],"_revision_number":1},{"id":"1ea03c26b7811b00c83da751f44b10bc8d4462dd","author":{"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"},"date":"2024-12-25 03:46:18.000000000","message":"Patch Set 1: Code-Review-1\n\n(4 comments)","accounts_in_message":[],"_revision_number":1},{"id":"b68eb0b9621fb2db43611433c8e923593227b842","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":33786,"name":"HanGuangyu","email":"hanguangyu2@gmail.com","username":"hanguangyu"},"date":"2025-01-02 08:00:40.000000000","message":"Uploaded patch set 2.\n\nOutdated Votes:\n* Code-Review-1 (copy condition: \"changekind:TRIVIAL_REBASE OR is:MIN\")\n* Verified+1\n","accounts_in_message":[],"_revision_number":2},{"id":"e8ab74bd3bfa92eb77c737aa5fde6495aeeb74c5","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2025-01-02 08:04:36.000000000","message":"Patch Set 2: Verified+1\n\nBuild succeeded (check pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/f575a8e7a7aa4d4baa2e841f449ab137\n\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/bfb91952db0a4f3bb114afb1994b7191 : SUCCESS in 3m 13s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/0c74b5c7f494445fb963c2af69d6d3c7 : SUCCESS in 2m 27s","accounts_in_message":[],"_revision_number":2},{"id":"4a38b8de28dc9411a81e3b459adbc74ae8421d58","author":{"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"},"date":"2025-01-02 12:32:20.000000000","message":"Patch Set 2: Code-Review+2","accounts_in_message":[],"_revision_number":2},{"id":"521820cbe554750c5c3966b980c520e0196d857d","author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"date":"2025-01-08 18:37:18.000000000","message":"Patch Set 2: Code-Review+1","accounts_in_message":[],"_revision_number":2},{"id":"e610faf21db1331c5605e5147df92a76fcb97fbe","author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"date":"2025-04-04 11:36:14.000000000","message":"Patch Set 2: Code-Review+2 Workflow+1","accounts_in_message":[],"_revision_number":2},{"id":"8e093d5f07b6adabec46f3cbecda6dc0500bf932","author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"date":"2025-04-04 11:36:33.000000000","message":"Patch Set 2:\n\n(2 comments)","accounts_in_message":[],"_revision_number":2},{"id":"6974520b966d28cb6a50e4490c88fbd2a6a3fc01","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2025-04-04 11:36:51.000000000","message":"Patch Set 2: -Verified\n\nStarting gate jobs.","accounts_in_message":[],"_revision_number":2},{"id":"89183e4f7645749dd2bf6462f2e9f25ec332888a","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":33786,"name":"HanGuangyu","email":"hanguangyu2@gmail.com","username":"hanguangyu"},"real_author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"date":"2025-04-04 11:39:07.000000000","message":"Patch Set 3: Patch Set 2 was rebased on behalf of \u003cGERRIT_ACCOUNT_33786\u003e\n\nCopied Votes:\n* Code-Review+1, Code-Review+2 (copy condition: \"**changekind:TRIVIAL_REBASE** OR is:MIN\")\n\nOutdated Votes:\n* Workflow+1\n","accounts_in_message":[{"_account_id":33786,"name":"HanGuangyu","email":"hanguangyu2@gmail.com","username":"hanguangyu"}],"_revision_number":3},{"id":"e6e729e71d68689cffc13632db78c64fe834ffa4","author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"date":"2025-04-04 11:39:12.000000000","message":"Patch Set 3: Code-Review+2 Workflow+1","accounts_in_message":[],"_revision_number":3},{"id":"068fe3e72cecf4b811ea4f0c1ce124cd219ed50d","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2025-04-04 11:42:56.000000000","message":"Patch Set 3: Verified+1\n\nBuild succeeded (check pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/797f097d693345829cbf3b621f72aebd\n\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/3308cc630c0c4fd38f9c0e6cf72cb5d2 : SUCCESS in 2m 05s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/278be0659e634c7e811048fc046e9fd2 : SUCCESS in 3m 03s","accounts_in_message":[],"_revision_number":3},{"id":"ad59e60ebec3188dc2a9623b281f19134652f73b","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2025-04-04 11:43:24.000000000","message":"Patch Set 3: -Verified\n\nStarting gate jobs.","accounts_in_message":[],"_revision_number":3},{"id":"702782e144b88fcc547315779cfe85727dc5a39e","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2025-04-04 11:48:52.000000000","message":"Patch Set 3: Verified+2\n\nBuild succeeded (gate pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/e6cf64c165de4243961df9d8c792269d\n\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/f8340ee48a53494b81b62da05315558d : SUCCESS in 4m 17s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/47c20af55e914dd29b13bb0e34cb9df0 : SUCCESS in 4m 07s","accounts_in_message":[],"_revision_number":3},{"id":"b448a5b5a34d59de3a0236d8978e8422d1835bae","tag":"autogenerated:gerrit:merged","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2025-04-04 11:48:52.000000000","message":"Change has been successfully merged","accounts_in_message":[],"_revision_number":3},{"id":"20ccff00168059cc82f7d725b1240d3c8006717d","tag":"autogenerated:zuul:promote","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2025-04-04 11:49:43.000000000","message":"Patch Set 3:\n\nBuild succeeded (promote pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/dfb0f6c774594822b0f74403d24a0104\n\n- promote-openstack-tox-docs https://zuul.opendev.org/t/openstack/build/6118943b421f49f2ab2e6be0b4e232a2 : SUCCESS in 34s","accounts_in_message":[],"_revision_number":3}],"current_revision_number":3,"current_revision":"2ce0f8fdb95d14fad31c1211b84c425e3b6740ce","revisions":{"dcc691e684db3f138c1b297e73478d70690046c2":{"kind":"REWORK","_number":1,"created":"2024-12-19 09:49:24.000000000","uploader":{"_account_id":33786,"name":"HanGuangyu","email":"hanguangyu2@gmail.com","username":"hanguangyu"},"ref":"refs/changes/41/938041/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/oslo.context","ref":"refs/changes/41/938041/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/oslo.context refs/changes/41/938041/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/oslo.context refs/changes/41/938041/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/oslo.context refs/changes/41/938041/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/oslo.context refs/changes/41/938041/1"}}},"commit":{"parents":[{"commit":"7d1e8240d2df9db7e9de8d453b2d7e2544ccb18f","subject":"reno: Update master for unmaintained/2023.1","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/oslo.context/commit/7d1e8240d2df9db7e9de8d453b2d7e2544ccb18f"}]}],"author":{"name":"Han Guangyu","email":"hanguangyu2@gmail.com","date":"2024-12-19 09:38:58.000000000","tz":480},"committer":{"name":"Han Guangyu","email":"hanguangyu2@gmail.com","date":"2024-12-19 09:38:58.000000000","tz":480},"subject":"Fix outdated argument in doc examples","message":"Fix outdated argument in doc examples\n\nCurrently, the example code in documentation does not run successfuly.\n- For \"tenant\" argument, we got:\n    TypeError: __init__() got an unexpected keyword argument \u0027tenant\u0027\n- For \"user\" argument, we got:\n    DeprecationWarning: Using the \u0027user\u0027 argument is deprecated in version \u00272.18\u0027 and will be removed in version \u00273.0\u0027, please use the \u0027user_id\u0027 argument instead\n\nThe \"tenant\" argument has been removed[1] from Yoga version and the \"user\" argument is deprecated.\n\nReplaced outdated parameters in the documentation examples with \"project_id\" and \"user_id\" to ensure the example code runs successfully.\n\n[1] https://review.opendev.org/c/openstack/oslo.context/+/815938\n\nChange-Id: I821ec6471ae2e7b1ce9109e4d32daf6e2221a469\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/oslo.context/commit/dcc691e684db3f138c1b297e73478d70690046c2"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/oslo.context/commit/dcc691e684db3f138c1b297e73478d70690046c2"}]},"branch":"refs/heads/master"},"84e25a709deaf460b0ef927397debe71e96fd4b1":{"kind":"REWORK","_number":2,"created":"2025-01-02 08:00:40.000000000","uploader":{"_account_id":33786,"name":"HanGuangyu","email":"hanguangyu2@gmail.com","username":"hanguangyu"},"ref":"refs/changes/41/938041/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/oslo.context","ref":"refs/changes/41/938041/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/oslo.context refs/changes/41/938041/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/oslo.context refs/changes/41/938041/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/oslo.context refs/changes/41/938041/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/oslo.context refs/changes/41/938041/2"}}},"commit":{"parents":[{"commit":"7d1e8240d2df9db7e9de8d453b2d7e2544ccb18f","subject":"reno: Update master for unmaintained/2023.1","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/oslo.context/commit/7d1e8240d2df9db7e9de8d453b2d7e2544ccb18f"}]}],"author":{"name":"Han Guangyu","email":"hanguangyu2@gmail.com","date":"2024-12-19 09:38:58.000000000","tz":480},"committer":{"name":"Han Guangyu","email":"hanguangyu2@gmail.com","date":"2025-01-02 07:57:48.000000000","tz":480},"subject":"Fix outdated argument in doc examples","message":"Fix outdated argument in doc examples\n\nCurrently, the example code in documentation does not run successfuly.\n- For \"tenant\" argument, we got:\n    TypeError: __init__() got an unexpected keyword argument \u0027tenant\u0027\n- For \"user\" argument, we got:\n    DeprecationWarning: Using the \u0027user\u0027 argument is deprecated in\n    version \u00272.18\u0027 and will be removed in version \u00273.0\u0027, please use the\n    \u0027user_id\u0027 argument instead\n\nThe \"tenant\" argument has been removed[1] from Yoga version and the\n\"user\" argument is deprecated.\n\nReplaced outdated parameters in the documentation examples with\n\"project_id\" and \"user_id\" to ensure the example code runs successfully.\n\n[1] https://review.opendev.org/c/openstack/oslo.context/+/815938\n\nChange-Id: I821ec6471ae2e7b1ce9109e4d32daf6e2221a469\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/oslo.context/commit/84e25a709deaf460b0ef927397debe71e96fd4b1"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/oslo.context/commit/84e25a709deaf460b0ef927397debe71e96fd4b1"}]},"branch":"refs/heads/master"},"2ce0f8fdb95d14fad31c1211b84c425e3b6740ce":{"kind":"TRIVIAL_REBASE","_number":3,"created":"2025-04-04 11:39:07.000000000","uploader":{"_account_id":33786,"name":"HanGuangyu","email":"hanguangyu2@gmail.com","username":"hanguangyu"},"real_uploader":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"ref":"refs/changes/41/938041/3","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/oslo.context","ref":"refs/changes/41/938041/3","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/oslo.context refs/changes/41/938041/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/oslo.context refs/changes/41/938041/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/oslo.context refs/changes/41/938041/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/oslo.context refs/changes/41/938041/3"}}},"commit":{"parents":[{"commit":"db20ddeaba90e4f183f0e1967d9a3cc7c0128479","subject":"Update master for stable/2025.1","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/oslo.context/commit/db20ddeaba90e4f183f0e1967d9a3cc7c0128479"}]}],"author":{"name":"Han Guangyu","email":"hanguangyu2@gmail.com","date":"2024-12-19 09:38:58.000000000","tz":480},"committer":{"name":"HanGuangyu","email":"hanguangyu2@gmail.com","date":"2025-04-04 11:39:07.000000000","tz":0},"subject":"Fix outdated argument in doc examples","message":"Fix outdated argument in doc examples\n\nCurrently, the example code in documentation does not run successfuly.\n- For \"tenant\" argument, we got:\n    TypeError: __init__() got an unexpected keyword argument \u0027tenant\u0027\n- For \"user\" argument, we got:\n    DeprecationWarning: Using the \u0027user\u0027 argument is deprecated in\n    version \u00272.18\u0027 and will be removed in version \u00273.0\u0027, please use the\n    \u0027user_id\u0027 argument instead\n\nThe \"tenant\" argument has been removed[1] from Yoga version and the\n\"user\" argument is deprecated.\n\nReplaced outdated parameters in the documentation examples with\n\"project_id\" and \"user_id\" to ensure the example code runs successfully.\n\n[1] https://review.opendev.org/c/openstack/oslo.context/+/815938\n\nChange-Id: I821ec6471ae2e7b1ce9109e4d32daf6e2221a469\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/oslo.context/commit/2ce0f8fdb95d14fad31c1211b84c425e3b6740ce"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/oslo.context/commit/2ce0f8fdb95d14fad31c1211b84c425e3b6740ce"}]},"branch":"refs/heads/master","description":"Rebase"}},"requirements":[],"submit_records":[{"rule_name":"gerrit~DefaultSubmitRule","status":"CLOSED","labels":[{"label":"Verified","status":"MAY","applied_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}},{"label":"Code-Review","status":"MAY","applied_by":{"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"}},{"label":"Workflow","status":"MAY","applied_by":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"}},{"label":"Backport-Candidate","status":"MAY"}]}],"submit_requirements":[{"name":"Verified","description":"Verified in gate by CI","status":"SATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Verified\u003dMAX AND -label:Verified\u003dMIN","fulfilled":true,"status":"PASS","passing_atoms":["label:Verified\u003dMAX"],"failing_atoms":["label:Verified\u003dMIN"],"atom_explanations":{}}},{"name":"Backport-Candidate","description":"Backport candidate status","status":"NOT_APPLICABLE","is_legacy":false,"applicability_expression_result":{"fulfilled":false,"status":"FAIL"},"submittability_expression_result":{"expression":"is:true","fulfilled":true,"status":"NOT_EVALUATED","passing_atoms":[],"failing_atoms":[],"atom_explanations":{}}},{"name":"Code-Review","description":"Code reviewed by core reviewer","status":"SATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Code-Review\u003dMAX AND -label:Code-Review\u003dMIN","fulfilled":true,"status":"PASS","passing_atoms":["label:Code-Review\u003dMAX"],"failing_atoms":["label:Code-Review\u003dMIN"],"atom_explanations":{}}},{"name":"Workflow","description":"Approved for gate by core reviewer","status":"SATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Workflow\u003dMAX AND -label:Workflow\u003dMIN","fulfilled":true,"status":"PASS","passing_atoms":["label:Workflow\u003dMAX"],"failing_atoms":["label:Workflow\u003dMIN"],"atom_explanations":{}}}]}
