function
stringlengths
11
56k
repo_name
stringlengths
5
60
features
list
def __init__(self, title=None, **kwargs): self.models = list(kwargs.pop('models', [])) self.exclude = list(kwargs.pop('exclude', [])) self.include_list = kwargs.pop('include_list', []) # deprecated self.exclude_list = kwargs.pop('exclude_list', []) # deprecated super(AppList, sel...
liberation/django-admin-tools
[ 2, 2, 2, 3, 1371719510 ]
def __init__(self, **kwargs): Dashboard.__init__(self, **kwargs) # will only list the django.contrib.auth models self.children += [ modules.ModelList('Authentication', ['django.contrib.auth.*',]) ]
liberation/django-admin-tools
[ 2, 2, 2, 3, 1371719510 ]
def __init__(self, title=None, models=None, exclude=None, **kwargs): self.models = list(models or []) self.exclude = list(exclude or []) self.include_list = kwargs.pop('include_list', []) # deprecated self.exclude_list = kwargs.pop('exclude_list', []) # deprecated if 'extra' in k...
liberation/django-admin-tools
[ 2, 2, 2, 3, 1371719510 ]
def __init__(self, **kwargs): Dashboard.__init__(self, **kwargs) # will only list the django.contrib apps self.children.append(modules.RecentActions( title='Django CMS recent actions', include_list=('cms.page', 'cms.cmsplugin',) ...
liberation/django-admin-tools
[ 2, 2, 2, 3, 1371719510 ]
def __init__(self, title=None, limit=10, include_list=None, exclude_list=None, **kwargs): self.include_list = include_list or [] self.exclude_list = exclude_list or [] kwargs.update({'limit': limit}) super(RecentActions, self).__init__(title, **kwargs)
liberation/django-admin-tools
[ 2, 2, 2, 3, 1371719510 ]
def get_qset(list): qset = None for contenttype in list: if isinstance(contenttype, ContentType): current_qset = Q(content_type__id=contenttype.id) else: try: app_label, model = contenttype.split('.')...
liberation/django-admin-tools
[ 2, 2, 2, 3, 1371719510 ]
def __init__(self, **kwargs): Dashboard.__init__(self, **kwargs) # will only list the django.contrib apps self.children.append(modules.Feed( title=_('Latest Django News'), feed_url='http://www.djangoproject.com/rss/weblog/', ...
liberation/django-admin-tools
[ 2, 2, 2, 3, 1371719510 ]
def __init__(self, title=None, feed_url=None, limit=None, **kwargs): kwargs.update({'feed_url': feed_url, 'limit': limit}) super(Feed, self).__init__(title, **kwargs)
liberation/django-admin-tools
[ 2, 2, 2, 3, 1371719510 ]
def __init__( self, credential: "AsyncTokenCredential", subscription_id: str, referer: str, base_url: Optional[str] = None, **kwargs: Any
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, n_particles, dimensions, options, bounds=None, velocity_clamp=None, center=1.0, ftol=-np.inf, ftol_iter=1, init_pos=None,
ljvmiranda921/pyswarms
[ 1044, 314, 1044, 21, 1499861085 ]
def _populate_history(self, hist): """Populate all history lists The :code:`cost_history`, :code:`mean_pbest_history`, and :code:`neighborhood_best` is expected to have a shape of :code:`(iters,)`,on the other hand, the :code:`pos_history` and :code:`velocity_history` are expect...
ljvmiranda921/pyswarms
[ 1044, 314, 1044, 21, 1499861085 ]
def optimize(self, objective_func, iters, n_processes=None, **kwargs): """Optimize the swarm for a number of iterations Performs the optimization to evaluate the objective function :code:`objective_func` for a number of iterations :code:`iter.` Parameters ---------- ...
ljvmiranda921/pyswarms
[ 1044, 314, 1044, 21, 1499861085 ]
def __init__(self, parent_module, node_id, func_type, cg, em, sym_table, type_info, live_at_end, vars_to_raise, closure_results, my_closure_results, globals_, is_module): assert isinstance(my_closure_results, closure_analyzer.ClosureResults), my_closure_results self._parent_module = parent_module ...
kmod/icbd
[ 12, 5, 12, 1, 1397488176 ]
def _get(self, node): self.em.pl("; %s:" % getattr(node, "lineno", "??") + " " + ast_utils.format_node(node)) self.em.indent(2) r = self._evaluate(node) self.em.pl("; end" + " " + ast_utils.format_node(node)) self.em.indent(-2) # Skip generated nodes since they're not in...
kmod/icbd
[ 12, 5, 12, 1, 1397488176 ]
def _set(self, t, val): # v is a Variable with one vref that this _set should consume # (can't actually check it because it might have added other refs # ex by adding it to the symbol table) if isinstance(t, _ast.Name): self._set(t.id, val) elif isinstance(t, _ast.Su...
kmod/icbd
[ 12, 5, 12, 1, 1397488176 ]
def _close_block(self): done = [] for n, v in self._st.iteritems(): if n not in self._live_at_end: # self.em.pl("; %s not live" % (n)) v.decvref(self.em) done.append(n) else: # self.em.pl("; %s live" % (n)) ...
kmod/icbd
[ 12, 5, 12, 1, 1397488176 ]
def pre_pass(self, node): return ()
kmod/icbd
[ 12, 5, 12, 1, 1397488176 ]
def pre_branch(self, node): v = self._get(node.test) v2 = v.getattr(self.em, "__nonzero__", clsonly=True).call(self.em, []) assert node.true_block assert node.false_block self._close_block() if str(v2.v) == "0" or node.true_block == node.false_block: assert ...
kmod/icbd
[ 12, 5, 12, 1, 1397488176 ]
def pre_import(self, node): for n in node.names: assert not n.asname assert '.' not in n.name m = self.cg.import_module(self.em, n.name) self._set(n.name, m) return ()
kmod/icbd
[ 12, 5, 12, 1, 1397488176 ]
def pre_augassign(self, node): t = self._get(node.target) v = self._get(node.value) op_name = BINOP_MAP[type(node.op)] iop_name = "__i" + op_name[2:] rop_name = "__r" + op_name[2:] r = self._find_and_apply_binop(t, v, (iop_name, False), (op_name, False), (rop_name, True)...
kmod/icbd
[ 12, 5, 12, 1, 1397488176 ]
def pre_print(self, node): for i, elt in enumerate(node.values): v = self._get(elt) assert isinstance(v, Variable), elt v = v.getattr(self.em, "__str__", clsonly=True).call(self.em, []) assert v.t is Str self.em.pl("call void @file_write(%%file* @sys_...
kmod/icbd
[ 12, 5, 12, 1, 1397488176 ]
def pre_functiondef(self, node): var = self._handle_function(node) if var is not None: self._set(node.name, var) return ()
kmod/icbd
[ 12, 5, 12, 1, 1397488176 ]
def pre_return(self, node): rtn_type = self._func_type.rtn_type v = Variable(None_, "null", 1, False) if node.value is None else self._get(node.value) v = v.convert_to(self.em, rtn_type) if v.marked: r = v else: r = v.split(self.em) v.decvref(...
kmod/icbd
[ 12, 5, 12, 1, 1397488176 ]
def __init__(self, typepath, pythonpath): self._compile_queue = None self._typepath = typepath self._pythonpath = pythonpath self.modules = None # maps ast node -> usermodulemt object self._loaded_modules = None # maps fn -> usermodulemt object self._module_filenames = No...
kmod/icbd
[ 12, 5, 12, 1, 1397488176 ]
def import_module(self, em, name=None, fn=None): assert not (name and fn) assert name or fn if name and name in BUILTIN_MODULES: return BUILTIN_MODULES[name].dup({}) if name: assert '.' not in name fns = [os.path.join(dirname, name + ".py") for dirnam...
kmod/icbd
[ 12, 5, 12, 1, 1397488176 ]
def get(self, type: Type[T], query: MutableMapping[str, Any], context: PipelineContext = None) -> T: pass
meraki-analytics/cassiopeia-datastores
[ 3, 5, 3, 5, 1504385373 ]
def get_many(self, type: Type[T], query: MutableMapping[str, Any], context: PipelineContext = None) -> Iterable[T]: pass
meraki-analytics/cassiopeia-datastores
[ 3, 5, 3, 5, 1504385373 ]
def put(self, type: Type[T], item: T, context: PipelineContext = None) -> None: pass
meraki-analytics/cassiopeia-datastores
[ 3, 5, 3, 5, 1504385373 ]
def put_many(self, type: Type[T], items: Iterable[T], context: PipelineContext = None) -> None: pass
meraki-analytics/cassiopeia-datastores
[ 3, 5, 3, 5, 1504385373 ]
def get_status(self, query: MutableMapping[str, Any], context: PipelineContext = None) -> ShardStatusDto: key = "{clsname}.{platform}".format(clsname=ShardStatusDto.__name__, platform=query["platform"].value) return ShardStatusDto(self._get(key))
meraki-analytics/cassiopeia-datastores
[ 3, 5, 3, 5, 1504385373 ]
def test_identity_rotation(w): # Rotation by 1 should be identity operation W_in = w() W_out = w() assert W_in.ensure_validity(alter=False) assert W_out.ensure_validity(alter=False) W_out.rotate_decomposition_basis(quaternion.one) assert W_out.ensure_validity(alter=False) assert np.array...
moble/scri
[ 16, 19, 16, 7, 1435000407 ]
def test_rotation_invariants(w): # A random rotation should leave everything but data and frame the # same (except num, of course) W_in = w() W_out = w() np.random.seed(hash("test_rotation_invariants") % 4294967294) # Use mod to get in an acceptable range W_out.rotate_decomposition_basis(np.qua...
moble/scri
[ 16, 19, 16, 7, 1435000407 ]
def test_constant_versus_series(w): # A random rotation should leave everything but data and frame the # same (except num, of course) W_const = w() W_series = w() np.random.seed(hash("test_constant_versus_series") % 4294967294) # Use mod to get in an acceptable range W_const.rotate_decompositio...
moble/scri
[ 16, 19, 16, 7, 1435000407 ]
def test_rotation_inversion(w): # Rotation followed by the inverse rotation should leave # everything the same (except that the frame data will be either a # 1 or a series of 1s) np.random.seed(hash("test_rotation_inversion") % 4294967294) # Use mod to get in an acceptable range W_in = w() asse...
moble/scri
[ 16, 19, 16, 7, 1435000407 ]
def createImgGOME_L2(fileAbsPath, pixelSize=0.25): hdf = h5py.File(fileAbsPath, 'r')
SISTEMAsw/TAMP
[ 1, 2, 1, 1, 1479208321 ]
def BlackScholes(): data = {} S = float(request.args.get('price')) K = float(request.args.get('strike')) T = float(request.args.get('time')) R = float(request.args.get('rate')) V = float(request.args.get('vol')) d1 = (log(float(S)/K)+(R+V*V/2.)*T)/(V*sqrt(T)) d2 = d1-V*sqrt(T) data...
davemc84/bitcoin-payable-black-scholes
[ 2, 2, 2, 1, 1451697019 ]
def process_data(data): """Process the product""" defer = DBPOOL.runInteraction(real_parser, data) defer.addCallback(write_memcache) defer.addErrback(common.email_error, data) defer.addErrback(LOG.error)
akrherz/pyWWA
[ 12, 4, 12, 10, 1336488468 ]
def real_parser(txn, buf): """Actually do something with the buffer, please""" if buf.strip() == "": return None utcnow = common.utcnow() nws = product.TextProduct(buf, utcnow=utcnow, parse_segments=False) # When we are in realtime processing, do not consider old data, typically # when...
akrherz/pyWWA
[ 12, 4, 12, 10, 1336488468 ]
def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read()
conversis/varstack
[ 24, 9, 24, 8, 1413753154 ]
def main(argv): root = ET.parse(sys.stdin).getroot() period_start = root.attrib.get('periodstart') for road_link in root.iter('{http://FTT.arstraffic.com/schemas/IndividualTT/}link'): road_link_id = road_link.attrib.get('id') road_link_times = [int(car.attrib.get('tt')) for car in road_lin...
gofore/aws-emr
[ 2, 5, 2, 1, 1416403169 ]
def __init__(self, client, config, serializer, deserializer) -> None: self._client = client self._serialize = serializer self._deserialize = deserializer self._config = config
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def get_long_running_output(pipeline_response): deserialized = self._deserialize('ExpressRouteGateway', pipeline_response) if cls: return cls(pipeline_response, deserialized, {}) return deserialized
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def get_long_running_output(pipeline_response): if cls: return cls(pipeline_response, None, {})
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def create_app(config_name='development', p_db=db, p_bcrypt=bcrypt, p_login_manager=login_manager): new_app = Flask(__name__) config_app(config_name, new_app) new_app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False p_db.init_app(new_app) p_bcrypt.init_app(new_app) p_login_manager.init_app(new_...
TwilioDevEd/airtng-flask
[ 16, 16, 16, 18, 1449671813 ]
def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer self._config = config
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def begin_delete( self, resource_group_name, # type: str route_table_name, # type: str **kwargs # type: Any
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def get_long_running_output(pipeline_response): if cls: return cls(pipeline_response, None, {})
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def get( self, resource_group_name, # type: str route_table_name, # type: str expand=None, # type: Optional[str] **kwargs # type: Any
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def _create_or_update_initial( self, resource_group_name, # type: str route_table_name, # type: str parameters, # type: "_models.RouteTable" **kwargs # type: Any
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def begin_create_or_update( self, resource_group_name, # type: str route_table_name, # type: str parameters, # type: "_models.RouteTable" **kwargs # type: Any
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def get_long_running_output(pipeline_response): deserialized = self._deserialize('RouteTable', pipeline_response) if cls: return cls(pipeline_response, deserialized, {}) return deserialized
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def _update_tags_initial( self, resource_group_name, # type: str route_table_name, # type: str parameters, # type: "_models.TagsObject" **kwargs # type: Any
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def begin_update_tags( self, resource_group_name, # type: str route_table_name, # type: str parameters, # type: "_models.TagsObject" **kwargs # type: Any
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def get_long_running_output(pipeline_response): deserialized = self._deserialize('RouteTable', pipeline_response) if cls: return cls(pipeline_response, deserialized, {}) return deserialized
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def list( self, resource_group_name, # type: str **kwargs # type: Any
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL url = self.list.metadat...
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def get_next(next_link=None): request = prepare_request(next_link) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response if response.status_code not in [200]: map_error(status_code=resp...
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def list_all( self, **kwargs # type: Any
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def prepare_request(next_link=None): # Construct headers header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') if not next_link: # Construct URL url = self.list_all.met...
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def get_next(next_link=None): request = prepare_request(next_link) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response if response.status_code not in [200]: map_error(status_code=resp...
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def setup(self): self.units = solarsystem self.p1 = KeplerPotential(m=1.*u.Msun, units=self.units) self.p2 = HernquistPotential(m=0.5*u.Msun, c=0.1*u.au, units=self.units)
adrn/gala
[ 104, 51, 104, 37, 1394412978 ]
def test_composite_create(self): potential = self.Cls() # Add a point mass with same unit system potential["one"] = KeplerPotential(units=self.units, m=1.) with pytest.raises(TypeError): potential["two"] = "derp" assert "one" in potential.parameters assert ...
adrn/gala
[ 104, 51, 104, 37, 1394412978 ]
def test_integrate(self): potential = self.Cls() potential["one"] = self.p1 potential["two"] = self.p2 for Integrator in [DOPRI853Integrator, LeapfrogIntegrator]: H = Hamiltonian(potential) w_cy = H.integrate_orbit([1., 0, 0, 0, 2*np.pi, 0], dt=0.01, ...
adrn/gala
[ 104, 51, 104, 37, 1394412978 ]
def test_failures(): p = CCompositePotential() p['derp'] = KeplerPotential(m=1.*u.Msun, units=solarsystem) with pytest.raises(ValueError): p['jnsdfn'] = HenonHeilesPotential(units=solarsystem)
adrn/gala
[ 104, 51, 104, 37, 1394412978 ]
def _energy(self, x, t): m = self.parameters['m'] x0 = self.parameters['x0'] r = np.sqrt(np.sum((x-x0[None])**2, axis=1)) return -m/r
adrn/gala
[ 104, 51, 104, 37, 1394412978 ]
def list_collections(self): return self._call_api('collections/list/')
ping/instagram_private_api
[ 2658, 604, 2658, 134, 1484222059 ]
def create_collection(self, name, added_media_ids=None): """ Create a new collection. :param name: Name for the collection :param added_media_ids: list of media_ids :return: .. code-block:: javascript { "status": "ok", ...
ping/instagram_private_api
[ 2658, 604, 2658, 134, 1484222059 ]
def __init__( self, *, certificate: Optional[str] = None, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, properties: Optional["CertificateProperties"] = None, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, value: Optional[List["CertificateDescription"]] = None, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, certificate: Optional[str] = None, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, certificate: Optional[str] = None, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, properties: Optional["CertificatePropertiesWithNonce"] = None, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, max_delivery_count: Optional[int] = None, default_ttl_as_iso8601: Optional[datetime.timedelta] = None, feedback: Optional["FeedbackProperties"] = None, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, endpoint_id: Optional[str] = None, health_status: Optional[Union[str, "EndpointHealthStatus"]] = None, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, value: Optional[List["EndpointHealthData"]] = None, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, key: str, value: str, endpoint_names: List[str], **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, properties: Optional[Dict[str, str]] = None, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, value: Optional[List["EventHubConsumerGroupInfo"]] = None, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, retention_time_in_days: Optional[int] = None, partition_count: Optional[int] = None, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, export_blob_container_uri: str, exclude_keys: bool, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, failover_region: str, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, source: Union[str, "RoutingSource"], endpoint_names: List[str], is_enabled: bool, name: Optional[str] = None, condition: Optional[str] = None, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, lock_duration_as_iso8601: Optional[datetime.timedelta] = None, ttl_as_iso8601: Optional[datetime.timedelta] = None, max_delivery_count: Optional[int] = None, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, input_blob_container_uri: str, output_blob_container_uri: str, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, location: str, tags: Optional[Dict[str, str]] = None, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, location: str, sku: "IotHubSkuInfo", tags: Optional[Dict[str, str]] = None, etag: Optional[str] = None, properties: Optional["IotHubProperties"] = None, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, value: Optional[List["IotHubDescription"]] = None, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, location: Optional[str] = None, role: Optional[Union[str, "IotHubReplicaRoleType"]] = None, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, message: Optional[str] = None, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, authorization_policies: Optional[List["SharedAccessSignatureAuthorizationRule"]] = None, ip_filter_rules: Optional[List["IpFilterRule"]] = None, event_hub_endpoints: Optional[Dict[str, "EventHubProperties"]] = None, routing: Optional["RoutingPropert...
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, value: Optional[List["IotHubQuotaMetricInfo"]] = None, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, sku: "IotHubSkuInfo", capacity: "IotHubCapacity", **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, value: Optional[List["IotHubSkuDescription"]] = None, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, name: Union[str, "IotHubSku"], capacity: Optional[int] = None, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]
def __init__( self, *, filter_name: str, action: Union[str, "IpFilterActionType"], ip_mask: str, **kwargs
Azure/azure-sdk-for-python
[ 3526, 2256, 3526, 986, 1335285972 ]