Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/c/o/CollabQ-HEAD/common/templatetags/avatar.py   CollabQ(Download)
def avatar(value, arg="t"):
  size = arg
  dimensions = api.AVATAR_IMAGE_SIZES[size]
  # TODO shard these
  # TODO cache these
def noncached_avatar(value, args):
  parts = args.split(",")
  size = parts[0]
  dimensions = api.AVATAR_IMAGE_SIZES[size]
  tag_id = ""

src/j/a/JaikuEngine-HEAD/common/templatetags/avatar.py   JaikuEngine(Download)
def avatar(value, arg="t"):
  size = arg
  dimensions = api.AVATAR_IMAGE_SIZES[size]
  # TODO shard these
  # TODO cache these
def noncached_avatar(value, args):
  parts = args.split(",")
  size = parts[0]
  dimensions = api.AVATAR_IMAGE_SIZES[size]
  tag_id = ""

src/j/a/jaikuenginepatch-HEAD/common/templatetags/avatar.py   jaikuenginepatch(Download)
def avatar(value, arg="t"):
  size = arg
  dimensions = api.AVATAR_IMAGE_SIZES[size]
  # TODO shard these
  # TODO cache these
def noncached_avatar(value, args):
  parts = args.split(",")
  size = parts[0]
  dimensions = api.AVATAR_IMAGE_SIZES[size]
  tag_id = ""

src/j/a/JaikuEngine-HEAD/common/test/api.py   JaikuEngine(Download)
                                         self.avatar_file_content)
    all_sizes = {'original': (320, 320)} # original dimension
    all_sizes.update(api.AVATAR_IMAGE_SIZES)
    for size, dimensions in all_sizes.items():
      keyname = 'image/%s_%s.jpg' % (avatar_base_path, size)

src/j/a/jaikuenginepatch-HEAD/common/test/api.py   jaikuenginepatch(Download)
                                         self.avatar_file_content)
    all_sizes = {'original': (320, 320)} # original dimension
    all_sizes.update(api.AVATAR_IMAGE_SIZES)
    for size, dimensions in all_sizes.items():
      keyname = 'image/%s_%s.jpg' % (avatar_base_path, size)