stdlib, resources: Addressed requested changes

Change-Id: I22abdc3bdcdde52301ed10cb3113e8925159c245
Co-authored-by: Kunal Pai <kunpai@users.noreply.github.com>
This commit is contained in:
Harshil Patel
2023-10-02 23:27:32 -07:00
parent 8182f8084b
commit 3af3c1121b
4 changed files with 21 additions and 11 deletions

View File

@@ -980,7 +980,6 @@ def obtain_resource(
# Once we know what AbstractResource subclass we are using, we create it.
# The fields in the JSON object are assumed to map like-for-like to the
# subclass contructor, so we can pass the resource_json map directly.
return resource_class(local_path=to_path, **resource_json)