72+ results for 'super(self.__class__ lang:Python' (0 ms)

Not the results you expected?

permissionadmin.py (https://github.com/conrado/django-cms.git) Python · 181 lines

168 return self._has_change_permissions_permission(request) and \

169 super(self.__class__, self).has_add_permission(request)

170

172 return self._has_change_permissions_permission(request) and \

173 super(self.__class__, self).has_change_permission(request, obj)

174

human_posture.py (https://github.com/davidhodo/morse.git) Python · 223 lines

144 # Call the constructor of the parent class

145 super(self.__class__, self).__init__(obj, parent)

146

modeladmin.py (https://bitbucket.org/pombredanne/dingo.git) Python · 151 lines

50 object_view_patterns)) + \

51 super(self.__class__, self).get_urls()

52

76

77 return super(self.__class__, self).change_view(

78 request, object_id, extra_context=extra_context)

99

100 return super(self.__class__, self).changelist_view(

101 request,

permissionadmin.py (https://github.com/mthornhill/django-cms.git) Python · 174 lines

161 return self._has_change_permissions_permission(request) and \

162 super(self.__class__, self).has_add_permission(request)

163

165 return self._has_change_permissions_permission(request) and \

166 super(self.__class__, self).has_change_permission(request, obj)

167

facets.py (https://github.com/joymax/solar.git) Python · 254 lines

137 def _init(self, *args, **kwargs):

138 super(self.__class__, self).__init__(*args, **kwargs)

139 self.name = name

admin.py (https://bitbucket.org/giussepi/resinmetal.git) Python · 357 lines

20 def get_urls(self):

21 urls = super(self.__class__, self).get_urls()

22 my_urls = patterns(

91 def get_urls(self):

92 urls = super(self.__class__, self).get_urls()

93 my_urls = patterns(

147 def get_urls(self):

148 urls = super(self.__class__, self).get_urls()

149 my_urls = patterns(

212 def get_urls(self):

213 urls = super(self.__class__, self).get_urls()

214 my_urls = patterns(

277 def get_urls(self):

278 urls = super(self.__class__, self).get_urls()

279 my_urls = patterns(

CognitiveOpDynModel.py (https://github.com/GiulioRossetti/ndlib.git) Python · 221 lines

34 """

35 super(self.__class__, self).__init__(graph, seed)

36

views.py (https://gitlab.com/lburdzy/asg) Python · 170 lines

32 self.permission_classes = (IsOwnerOrReadOnly, )

33 return super(self.__class__, self).update(request, *args, **kwargs)

34

message.py (https://github.com/mardiros/python-synapse.git) Python · 264 lines

206 else:

207 return super(self.__class__, self).default(obj)

208

human_posture.py (https://github.com/kargm/morse.git) Python · 153 lines

22 # Call the constructor of the parent class

23 super(self.__class__,self).__init__(obj, parent)

24

events.py (https://github.com/lordfriend/Albireo.git) Python · 238 lines

114

115 super(self.__class__, self).__init__(EventType.TYPE_EPISODE_DOWNLOADED, {

116 'episode': episode_dict_tiny

127 def __init__(self, **kwargs):

128 super(self.__class__, self).__init__(EventType.TYPE_USER_FAVORITE, {

129 'favorites': kwargs.get('favorites')})

161 def __init__(self, **kwargs):

162 super(self.__class__, self).__init__(EventType.TYPE_KEEP_ALIVE, {

163 'status': kwargs.get('status')

177 def __init__(self, **kwargs):

178 super(self.__class__, self).__init__(EventType.TYPE_TOKEN_ADDED, {

179 'favorites': kwargs.get('favorites'),

200 def __init__(self, **kwargs):

201 super(self.__class__, self).__init__(EventType.TYPE_TOKEN_REMOVED, {

202 'token_id': kwargs.get('token_id')

dummy.py (https://gitlab.com/planto/postpic) Python · 238 lines

43 def __init__(self, dumpid, dimensions=2, randfunc=np.random.normal, seed=0, **kwargs):

44 super(self.__class__, self).__init__(dumpid, **kwargs)

45 self._dimensions = dimensions

63 def __eq__(self, other):

64 ret = super(self.__class__, self).__eq__(other)

65 return ret \

197 def __init__(self, simidentifier, dimensions=2, **kwargs):

198 super(self.__class__, self).__init__(simidentifier, **kwargs)

199 self._dimensions = dimensions

split_repr.py (https://github.com/Gordin/urwid.git) Python · 149 lines

54 # to the previous __repr__ implementation instead

55 return super(self.__class__, self).__repr__()

56 if words and alist: words.append("")

dgp_examples.py (https://gitlab.com/pooja043/Globus_Docker_4) Python · 213 lines

156 self.func = fg1

157 super(self.__class__, self).__init__(nobs=nobs, x=x,

158 distr_x=distr_x,

173 self.func = fg2

174 super(self.__class__, self).__init__(nobs=nobs, x=x,

175 distr_x=distr_x,

189 self.func = fg1eu

190 super(self.__class__, self).__init__(nobs=nobs, x=x,

191 distr_x=distr_x,

metaclass.py (https://github.com/e-loue/pyke.git) Python · 321 lines

72 else:

73 super(self.__class__, self).__setattr__(attr, value)

74

76 # does not work to call super.__setattr__

77 #super(self.__class__, self).__setattr__(attr, value)

78 #

template.py (https://github.com/mucca/django-debug-toolbar.git) Python · 122 lines

46 def __init__(self, *args, **kwargs):

47 super(self.__class__, self).__init__(*args, **kwargs)

48 self.templates = []

plugin.py (https://github.com/gholms/supybot-plugins.git) Python · 96 lines

47 def __init__(self, irc):

48 super(self.__class__, self).__init__(irc)

49

move_file_command.py (https://github.com/skuroda/Sublime-AdvancedNewFile.git) Python · 143 lines

131 else:

132 return super(self.__class__, self).generate_initial_path()

133

ah_ipv6.py (https://github.com/avocado-framework/avocado-vt.git) Python · 127 lines

125

126 super(self.__class__, self).__init__(virsh_instance=virsh_instance)

127 self.xml = '<ah-ipv6/>'

config.py (https://github.com/renfers/ageliaco.tracker.git) Python · 120 lines

112

113 super(self.__class__, self).__init__(register_config)

114

admin.py (https://github.com/thatdatabaseguy/openjumo.git) Python · 131 lines

128 cache.bust(obj, update=False)

129 super(self.__class__, self).save_model(request, obj, form, change)

130

tests.py (https://github.com/dgreisen/django-couchdb-utils.git) Python · 152 lines

11 def setUp(self):

12 super(self.__class__, self).setUp(app_label)

13

polynomials.py (https://bitbucket.org/aleadev/alea.git) Python · 194 lines

136

137 super(self.__class__, self).__init__(rc_func, sqnorm_func)

138 if normalised:

150

151 super(self.__class__, self).__init__(rc_func, sqnorm_func)

152 if normalised:

165

166 super(self.__class__, self).__init__(rc_func, sqnorm_func)

167 if normalised:

178

179 super(self.__class__, self).__init__(rc_func, sqnorm_func)

180 if normalised:

191

192 super(self.__class__, self).__init__(rc_func, sqnorm_func)

193 if normalised:

sphinx_cython.py (https://github.com/thurday/pyzmq.git) Python · 111 lines

87 return cls.format_args(self)

88 # return super(self.__class__, self).format_args()

89

export_it_inventory.py (https://github.com/Cigna/ibis.git) Python · 164 lines

13 """Init."""

14 super(self.__class__, self).__init__(*arg)

15 self.table = self.cfg_mgr.it_table_export

Expression.py (https://github.com/neonux/mozilla-all.git) Python · 176 lines

132 self.type = type

133 super(self.__class__, self).__init__(self)

134

174 if key in self:

175 return super(self.__class__, self).__getitem__(key)

176 return key

tableproxy.py (https://github.com/stesh/nltk_contrib.git) Python · 183 lines

51 w = self[i]

52 super(self.__class__,self).__setitem__(i,v)

53 self.tab.emitter.emit(PYSIGNAL("cellChanged"),(self.num,i,self.data[i],w))

61 def __init__(self, *args):

62 self.super = super(self.__class__,self)

63 self.super.__init__(*args)

CombinedImage.py (https://github.com/salmon-charles/qooxdoo-build-tool.git) Python · 79 lines

73 def toResinfo(self):

74 result = super(self.__class__, self).toResinfo()

75 if self.format == "b64" and self.path:

core.py (https://github.com/GunioRobot/pyresto.git) Python · 202 lines

28 def __init__(self, iterable, wrapper):

29 super(self.__class__, self).__init__(iterable)

30 self.__wrapper = wrapper

36 def __getitem__(self, key):

37 item = super(self.__class__, self).__getitem__(key)

38 should_wrap = self.is_dict(item) or isinstance(key, slice) and any(map(self.is_dict, item))

46 def __getslice__(self, i, j):

47 items = super(self.__class__, self).__getslice__(i, j)

48 if any(map(self.is_dict, items)):

53 def __iter__(self):

54 iterator = super(self.__class__, self).__iter__()

55 return (self.__wrapper(item) for item in iterator)

auth.py (https://github.com/jwoschitz/SimpleAuth.git) Python · 134 lines

16 def __init__(self, min_chars):

17 super(self.__class__, self).__init__("The password must be at least {0} characters long.".format(min_chars))

18

20 def __init__(self, email):

21 super(self.__class__, self).__init__("The email address '{0}' contains invalid characters.".format(email))

22

NLU.py (https://github.com/wzpan/wukong-robot.git) Python · 218 lines

99 def __init__(self):

100 super(self.__class__, self).__init__()

101

serializers.py (https://gitlab.com/muse-genomics/muse-app) Python · 154 lines

25 kwargs['partial'] = True

26 super(self.__class__, self).__init__(*args, **kwargs)

27

36 kwargs['partial'] = True

37 super(self.__class__, self).__init__(*args, **kwargs)

38

52 kwargs['partial'] = True

53 super(self.__class__, self).__init__(*args, **kwargs)

54

107 kwargs['partial'] = True

108 super(self.__class__, self).__init__(*args, **kwargs)

109

132 kwargs['partial'] = True

133 super(self.__class__, self).__init__(*args, **kwargs)

134

database.py (https://github.com/jwoschitz/SimpleAuth.git) Python · 174 lines

6 def __init__(self, email):

7 super(self.__class__, self).__init__("Email '{0}' is already registered.".format(email))

8

10 def __init__(self, email, max_chars):

11 super(self.__class__, self).__init__("Your email '{0}' is too long. Email address must be short than {1} characters.".format(email,max_chars))

12

permissionadmin.py (https://github.com/daonb/django-cms.git) Python · 148 lines

142 return self._has_change_permissions_permission(request) and \

143 super(self.__class__, self).has_add_permission(request)

144

146 return self._has_change_permissions_permission(request) and \

147 super(self.__class__, self).has_change_permission(request, obj)

148

jsonify.py (https://github.com/kamens/gae_bingo.git) Python · 143 lines

120 obj = dumps(obj, camel_cased=True)

121 return super(self.__class__, self).encode(obj)

122

PrimStretchedExpFT.py (https://github.com/mantidproject/mantid.git) Python · 94 lines

22 def __init__(self):

23 super(self.__class__, self).__init__()

24 self._parmList = list()

rank.py (https://gitlab.com/Lett1/SlackDuckBot) Python · 73 lines

13 def __init__(self):

14 super(self.__class__, self).__init__()

15

customcommands.py (https://gitlab.com/Lett1/SlackDuckBot) Python · 107 lines

16 def __init__(self):

17 super(self.__class__, self).__init__()

18 self.own_trigger = "commands"

lowd_meek.py (https://github.com/ftramer/Steal-ML.git) Python · 187 lines

18 self.X_test, self.y_test = test_xy

19 super(self.__class__, self).__init__('LM', +1, -1, target, len(self.X_test[0]), 'uniform', error)

20

subclassing.py (https://github.com/andrewkuzmych/litclub.git) Python · 53 lines

48 else:

49 super(self.__class__, self).contribute_to_class(cls, name)

50 setattr(cls, self.name, Creator(self))

pages.py (https://gitlab.com/phyks/weboob) Python · 71 lines

49 def get_title(self):

50 title = super(self.__class__, self).get_title()

51 title = title.split('|')[0]

54 def get_author(self):

55 author = super(self.__class__, self).get_author()

56 try:

incar.py (https://github.com/PytLab/VASPy.git) Python · 233 lines

31 """

32 super(self.__class__, self).__init__(filename)

33 self.filename = filename

auth.py (https://gitlab.com/ztane/python-bitbucket) Python · 171 lines

79 self.client_email = client_email

80 super(self.__class__, self).__init__(server_base_uri=server_base_uri)

81

98 self.username = None

99 super(self.__class__, self).__init__(server_base_uri=server_base_uri)

100

153 {'server_base_uri': self.server_base_uri}))

154 super(self.__class__, self).__init__(server_base_uri=server_base_uri)

155

test_handler_power_state.py (https://gitlab.com/waldi/cloud-init) Python · 131 lines

12 def setUp(self):

13 super(self.__class__, self).setUp()

14

example_eo_04_ownproblem.py (https://gitlab.com/wiechapeter/pyGDM2-dirty) Python · 162 lines

42 """constructor"""

43 super(self.__class__, self).__init__(N_dim, model, nthreads=nthreads)

44

esp_ipv6.py (https://github.com/avocado-framework/avocado-vt.git) Python · 126 lines

124

125 super(self.__class__, self).__init__(virsh_instance=virsh_instance)

126 self.xml = '<esp-ipv6/>'

all_ipv6.py (https://github.com/avocado-framework/avocado-vt.git) Python · 126 lines

124

125 super(self.__class__, self).__init__(virsh_instance=virsh_instance)

126 self.xml = '<all-ipv6/>'

forms.py (https://github.com/lauraxt/socorro.git) Python · 123 lines

36 ):

37 super(self.__class__, self).__init__(*args, **kwargs)

38

utilTest.py (https://github.com/connie/RMG-Py.git) Python · 114 lines

79 # Parent initialization

80 super(self.__class__, self).__init__(*args, **kwargs)

81

82 # Only setup the scoop framework once, and not in every test method:

83 super(self.__class__, self).setUp()

84

99 # Parent initialization

100 super(self.__class__, self).__init__(*args, **kwargs)

101

102 # Only setup the scoop framework once, and not in every test method:

103 super(self.__class__, self).setUp()

104

all.py (https://github.com/avocado-framework/avocado-vt.git) Python · 125 lines

123

124 super(self.__class__, self).__init__(virsh_instance=virsh_instance)

125 self.xml = '<all/>'

template.py (https://bitbucket.org/jonasteuwen/flask-debugtoolbar.git) Python · 124 lines

32 def __init__(self, *args, **kwargs):

33 super(self.__class__, self).__init__(*args, **kwargs)

34 self.key = str(uuid.uuid4())

node.py (https://gitlab.com/pankajmore/codecombat.git) Python · 143 lines

14 def __init__(self,configuration):

15 super(self.__class__, self).__init__(configuration)

16 operating_system = configuration.system.operating_system

Plot.py (https://github.com/PerilousApricot/WMCore-OLDOLD.git) Python · 133 lines

26 return True

27 #return super(self.__class__,self).validate(input) and self.validate(input)

28 attrs['_validate']=_validate

38 setattr(self.props,v.element_name,v.extract(input))

39 #super(self.__class__,self).extract(input)

40 for method in self.__class__._extract_calls:

69 self.figure = None

70 super(self.__class__,self).__init__(*args,**kwargs)

71 if not '__init__' in attrs:

postgres_file_writer.py (https://github.com/foxxtrot/py-mysql2pgsql.git) Python · 157 lines

44 """

45 truncate_sql, serial_key_sql = super(self.__class__, self).truncate(table)

46 self.f.write("""

65 """

66 table_sql, serial_key_sql = super(self.__class__, self).write_table(table)

67 if serial_key_sql:

90 """

91 self.f.write('\n'.join(super(self.__class__, self).write_indexes(table)))

92

101 """

102 self.f.write('\n'.join(super(self.__class__, self).write_constraints(table)))

103

pages.py (https://github.com/laurentb/weboob.git) Python · 65 lines

39 try:

40 return super(self.__class__, self).get_title()

41 except(XPathNotFound):

module.py (https://github.com/laurentb/weboob.git) Python · 95 lines

86 def __init__(self, *args, **kwargs):

87 super(self.__class__, self).__init__(*args, **kwargs)

88 self.RSS_FEED = "http://www.lefigaro.fr/rss/figaro_%s.xml" % self.config['feed'].get()

icmp.py (https://github.com/avocado-framework/avocado-vt.git) Python · 131 lines

129

130 super(self.__class__, self).__init__(virsh_instance=virsh_instance)

131 self.xml = '<icmp/>'

plugin_disk.py (git://pkgs.fedoraproject.org/tuned) Python · 173 lines

15 """

16 super(self.__class__, self).__init__(None, options)

17

models.py (git://git.savannah.nongnu.org/savane.git) Python · 132 lines

26 def get_query_set(self):

27 return super(self.__class__, self).get_query_set().filter(status=1)

28 class Job(models.Model):

models.py (https://github.com/kaitlin/HollaBackDC.git) Python · 53 lines

52

53 super(self.__class__, self).save()

54

tests.py (https://github.com/Narsil/django-dtpanel-htmltidy.git) Python · 126 lines

86 def panel(self):

87 panel = super(self.__class__, self).panel()

88

test_smoothers.py (https://gitlab.com/pooja043/Globus_Docker_4) Python · 108 lines

54 def __init__(self):

55 super(self.__class__, self).__init__() #initialize DGP

56

68 def __init__(self):

69 super(self.__class__, self).__init__() #initialize DGP

70

83 def __init__(self):

84 super(self.__class__, self).__init__() #initialize DGP

85

video_camera.py (https://github.com/davidhodo/morse.git) Python · 131 lines

113 # Call the action of the parent class

114 super(self.__class__, self).default_action()

115

auth.py (https://github.com/marchon/corkscrew.git) Python · 77 lines

53 try:

54 return super(self.__class__,self).render_template(*args, **kargs)

55 except jinja2.exceptions.TemplateNotFound, e:

resultmodulation.py (https://github.com/sduchesneau/shinken.git) Python · 101 lines

66 # First apply Item pythonize

67 super(self.__class__, self).pythonize()

68

column.py (https://github.com/Rambatino/CHAID.git) Python · 309 lines

88 substitute=True, weights=None, name=None):

89 super(self.__class__, self).__init__(arr, metadata=metadata, missing_id=missing_id, weights=weights, name=name)

90 if substitute and metadata is None:

175 groupings=None, substitute=True, weights=None, name=None):

176 super(self.__class__, self).__init__(arr, metadata, missing_id=missing_id, weights=weights, name=name)

177 self._nan = np.array([np.nan]).astype(int)[0]

287

288 super(self.__class__, self).__init__(np.nan_to_num(arr), metadata, missing_id=missing_id, weights=weights)

289

test_writer.py (https://github.com/foxxtrot/py-mysql2pgsql.git) Python · 124 lines

29 def setUp(self):

30 super(self.__class__, self).setUp()

31 self.writer = PostgresWriter()

82 def setUp(self):

83 super(self.__class__, self).setUp()

84 self.outfile = tempfile.NamedTemporaryFile()

87 def tearDown(self):

88 super(self.__class__, self).tearDown()

89 self.writer.close()

108 def setUp(self):

109 super(self.__class__, self).setUp()

110 self.writer = PostgresDbWriter(self.config.options['destination']['postgres'], True)

111 def tearDown(self):

112 super(self.__class__, self).tearDown()

113 self.writer.close()

core.py (https://github.com/clofresh/spriteful.git) Python · 110 lines

107 else:

108 super(self.__class__, self).update(world)

109

models.py (https://github.com/cdocarmo/saltoguia.git) Python · 111 lines

62 # self.slug = unique_slugify(self.nombre, queryset, 'slug')

63 # super(self.__class__, self).save(*args, **kwargs)

64 #

sro.py (https://github.com/oasis-open/cti-python-stix2.git) Python · 116 lines

59 def _check_object_constraints(self):

60 super(self.__class__, self)._check_object_constraints()

61

108 def _check_object_constraints(self):

109 super(self.__class__, self)._check_object_constraints()

110

udpft.py (https://code.google.com/p/anacrolix/) Python · 216 lines

72 #pdb.set_trace()

73 return super(self.__class__, self).to_bytes() \

74 + self.__HEADER.pack(self.digest, self.filesize) + self.filename

86 def to_bytes(self):

87 packet = super(self.__class__, self).to_bytes()

88 packet += self.__HEADER.pack(self.digest)

cache.py (https://github.com/ross/django-debug-toolbar.git) Python · 105 lines

79 def __init__(self, *args, **kwargs):

80 super(self.__class__, self).__init__(*args, **kwargs)

81 # This is hackish but to prevent threading issues is somewhat needed