class_docstr: Proxy for guild.deps.Resource, used by resolver API.
  
  The APIs in guild.deps and guild.resolver are to be replaced by
  this module and a new resolver interface. Until the new resolver
  interface is created, we use a proxy resource to work with the
  current interface.
class_docstr_tok: ["Proxy","for","guild.deps.Resource",",","used","by","resolver","API",".","The","APIs","in","guild.deps","and","guild.resolver","are","to","be","replaced","by","this","module","and","a","new","resolver","interface",".","Until","the","new","resolver","interface","is","created",",","we","use","a","proxy","resource","to","work","with","the","current","interface","."]
code: def __init__(self, location, config):
      assert not config or isinstance(config, dict), config
      assert location
      self.location = location
      self.config = config
  
imports: import os
  import re
  import logging
  import typing
  from guild import cli
  from guild import resolver
  from guild import resourcedef
  from guild import util
label_desc: Use image node_id 1 to create a new ResourceProxy object  with example: obj = ResourceProxy(location, config)