old_contents: 
  from figure import api_requestor
  
  class Portrait(object):
  
      @classmethod
      def get_all_public(cls):
          return api_requestor.request("GET", "/portraits/public")
  
      @classmethod
      def get(cls, code):
          assert code is not None
          url = "/portraits/%s" % code
          return api_requestor.request("GET", url)
  
      @classmethod
      def edit(cls, code, data):
          assert code is not None
          url = "/portraits/%s/" % code
          return api_requestor.request("PUT", url, data)
  
new_contents: 
  from figure import api_requestor
  
  class Portrait(object):
  
      @classmethod
      def get_all_public(cls, place=None):
          filters = {'place__id': place} if place else None
          return api_requestor.request("GET", "/portraits/public", filters=filters)
  
      @classmethod
      def get(cls, code):
          assert code is not None
          url = "/portraits/%s" % code
          return api_requestor.request("GET", url)
  
      @classmethod
      def edit(cls, code, data):
          assert code is not None
          url = "/portraits/%s/" % code
          return api_requestor.request("PUT", url, data)
  
subject: allow filtering public portraits by place