code stringlengths 4 4.48k | docstring stringlengths 1 6.45k | _id stringlengths 24 24 |
|---|---|---|
class DlnaOrgPs(Enum): <NEW_LINE> <INDENT> INVALID = 0 <NEW_LINE> NORMAL = 1 | DLNA.ORG_PS (PlaySpeed ) flags. | 6259904915baa7234946333f |
class LayerModel(QgsMapLayerProxyModel): <NEW_LINE> <INDENT> def __init__(self, parent=None): <NEW_LINE> <INDENT> super().__init__(parent) <NEW_LINE> self.setFilters(QgsMapLayerProxyModel.VectorLayer) <NEW_LINE> <DEDENT> def name_list(self): <NEW_LINE> <INDENT> names = [] <NEW_LINE> for i in range(self.rowCount()): <NE... | Checkable Layer Model to include / exclude vector layers from the multilayer
selection tools | 6259904945492302aabfd881 |
class CollectionManagerForModelWithDynamicField(CollectionManagerForModelWithDynamicFieldMixin, ExtendedCollectionManager): <NEW_LINE> <INDENT> pass | A colleciton manager based on ExtendedCollectionManager that add the
"dynamic_filter" method. | 6259904950485f2cf55dc337 |
class SysTray(wx.TaskBarIcon): <NEW_LINE> <INDENT> def __init__(self, parent): <NEW_LINE> <INDENT> wx.TaskBarIcon.__init__(self) <NEW_LINE> self.parentApp = parent <NEW_LINE> self.menu = None <NEW_LINE> self.CreateMenu() <NEW_LINE> <DEDENT> def CreateMenu(self): <NEW_LINE> <INDENT> self.Bind(wx.EVT_TASKBAR_RIGHT_UP, se... | Taskbar Icon class.
:param parent: Parent frame
:type parent: :class:`wx.Frame` | 62599049baa26c4b54d50658 |
class StorageClient(object): <NEW_LINE> <INDENT> def __init__( self, url, swissnum, treq=treq ): <NEW_LINE> <INDENT> self._base_url = url <NEW_LINE> self._swissnum = swissnum <NEW_LINE> self._treq = treq <NEW_LINE> <DEDENT> def relative_url(self, path): <NEW_LINE> <INDENT> return self._base_url.click(path) <NEW_LINE> <... | Low-level HTTP client that talks to the HTTP storage server. | 6259904976d4e153a661dc4d |
class DocManager(): <NEW_LINE> <INDENT> def __init__(self, url=None, unique_key='_id'): <NEW_LINE> <INDENT> self.unique_key = unique_key <NEW_LINE> self.doc_dict = {} <NEW_LINE> <DEDENT> def stop(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def upsert(self, doc): <NEW_LINE> <INDENT> self.doc_dict[doc[self.unique... | BackendSimulator emulates both a target DocManager and a server.
The DocManager class creates a connection to the backend engine and
adds/removes documents, and in the case of rollback, searches for them.
The reason for storing id/doc pairs as opposed to doc's is so that multiple
updates to the same doc reflect the m... | 625990498a349b6b436875fb |
class LexCompileError(LexError): <NEW_LINE> <INDENT> pass | Errors raised during compilation of lexical analysis rules. | 62599049d7e4931a7ef3d425 |
class DirectoryListing(datatype('DirectoryListing', ['directory', 'dependencies', 'exists'])): <NEW_LINE> <INDENT> pass | A list of Stat objects representing a directory listing.
If exists=False, then the entries list will be empty. | 62599049d10714528d69f065 |
class TensorBoardDebugWrapperSession(GrpcDebugWrapperSession): <NEW_LINE> <INDENT> def __init__(self, sess, grpc_debug_server_addresses, thread_name_filter=None, log_usage=True): <NEW_LINE> <INDENT> def _gated_grpc_watch_fn(fetches, feeds): <NEW_LINE> <INDENT> del fetches, feeds <NEW_LINE> return framework.WatchOptions... | A tfdbg Session wrapper that can be used with TensorBoard Debugger Plugin.
This wrapper is the same as `GrpcDebugWrapperSession`, except that it uses a
predefined `watch_fn` that
1) uses `DebugIdentity` debug ops with the `gated_grpc` attribute set to
`True` to allow the interactive enabling and disabling of... | 6259904915baa72349463340 |
class HubKerasLayerV1V2(hub.KerasLayer): <NEW_LINE> <INDENT> def _setup_layer(self, trainable=False, **kwargs): <NEW_LINE> <INDENT> if self._is_hub_module_v1: <NEW_LINE> <INDENT> self._setup_layer_v1(trainable, **kwargs) <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> super(HubKerasLayerV1V2, self)._setup_layer(trainable... | Class to loads TF v1 and TF v1 hub modules that could be fine-tuned.
Since TF v1 modules couldn't be retrained in hub.KerasLayer. This class
provides a workaround for retraining the whole tf1 model in tf2. In
particular, it extract self._func._self_unconditional_checkpoint_dependencies
into trainable variable in tf1.
... | 62599049596a897236128f86 |
class BaseSubmissionDeleteView(DbfvFormMixin, generic.DeleteView): <NEW_LINE> <INDENT> permission_required = 'submission.delete_submissiongym' <NEW_LINE> template_name = 'delete.html' <NEW_LINE> def get_context_data(self, **kwargs): <NEW_LINE> <INDENT> context = super(BaseSubmissionDeleteView, self).get_context_data(**... | Deletes a submission | 6259904923849d37ff85246c |
class PandasTable(Table): <NEW_LINE> <INDENT> TRANSFORMS_MAPPING = { 'query': query_transform, 'sample': sample_transform, 'sort': sort_transform, 'quantile_range': quantile_range_transform, 'search': search_transform, 'nans': nans_transform, 'histogram': histogram_transform } <NEW_LINE> def __init__(self, dataframe, s... | Pynorama table backed by a fully-materialised Pandas dataframe | 625990498e05c05ec3f6f832 |
class GetImages(APIView): <NEW_LINE> <INDENT> permission_classes = (AllowAny, ) <NEW_LINE> def get(self, request, pk): <NEW_LINE> <INDENT> images = Image.objects.filter(title__pk=pk) <NEW_LINE> serializer = ImageSerializer(images, context={"request": request}, many=True) <NEW_LINE> return Response(serializer.data) | Returns all images for a specific title | 6259904907d97122c4218052 |
class Attenuation(Enum): <NEW_LINE> <INDENT> CONSTANT = 'constant' <NEW_LINE> LINEAR = 'linear' <NEW_LINE> QUADRATIC = 'quadratic' | Light attenuation attributes | 6259904907f4c71912bb07e2 |
class SurveyController(Survey): <NEW_LINE> <INDENT> @http.route(['/survey/start/<model("survey.survey"):survey>', '/survey/start/<model("survey.survey"):survey>/<string:token>'], type='http', auth='public', website=True, sitemap=False) <NEW_LINE> def start_survey(self, survey, token=None, **post): <NEW_LINE> <INDENT> r... | Disable survey from sitemaps | 62599049287bf620b6272f98 |
class Scanner: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.coord_mapping = None <NEW_LINE> <DEDENT> def scan_for_changes(self): <NEW_LINE> <INDENT> pass | Base class for scanners. | 625990498e71fb1e983bce74 |
class UpperBoundCondition(BoundCondition): <NEW_LINE> <INDENT> upper = True | A condition that checks a numeric attribute against an upper bound, and
raises the alert if it exceeds that bound
::
UpperBoundCondition('temperature', error_bound = 85, message = "Maximum operating temperature exceeded") | 625990493cc13d1c6d466ae7 |
class EnclosedDocDescriptor: <NEW_LINE> <INDENT> _DOC_CLS = 'document_class' <NEW_LINE> _RECURSIVE_REF_CONST = 'self' <NEW_LINE> def __init__(self, enclosed_cls_type): <NEW_LINE> <INDENT> if enclosed_cls_type in ('embedded', 'reference'): <NEW_LINE> <INDENT> self.attr_name = '_{}_{}'.format(enclosed_cls_type, self._DOC... | Descriptor for accessing an enclosed documens within an embedded
(:py:class:`yadm.fields.embedded.EmbeddedDocumentField`) and a reference
(:py:class:`yadm.fields.reference.ReferenceField`) fields.
:param str enclosed_cls_type: Enclosed class type. Can take `embedded` or
`reference` value. Otherwise :py:exc:`ValueE... | 625990498a43f66fc4bf3545 |
class Beeper: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.pin = machine.Pin(2) <NEW_LINE> self.pwm = machine.PWM(self.pin) <NEW_LINE> self.freq = {DIT: 500, DAH: 500} <NEW_LINE> self.duty = {DIT: 512, DAH: 512} <NEW_LINE> <DEDENT> def beep(self, signal): <NEW_LINE> <INDENT> if signal == WORD_PAUSE:... | Piezo PWM Beeper | 6259904926068e7796d4dcf4 |
class SleuthError(Exception): <NEW_LINE> <INDENT> def __init__(self, error_type, message=None): <NEW_LINE> <INDENT> self.error_type = error_type <NEW_LINE> if message is not None: <NEW_LINE> <INDENT> self.message = message <NEW_LINE> return <NEW_LINE> <DEDENT> if error_type is ErrorTypes.UNEXPECTED_SERVER_ERROR: <NEW_L... | Represents an error that occurred during the processing of a request to the
Sleuth API. | 62599049b5575c28eb7136a1 |
class GuestMonitor(Monitor, threading.Thread): <NEW_LINE> <INDENT> def __init__(self, config, id, libvirt_iface): <NEW_LINE> <INDENT> threading.Thread.__init__(self, name="guest:%s" % id) <NEW_LINE> self.config = config <NEW_LINE> self.logger = logging.getLogger('mom.GuestMonitor') <NEW_LINE> self.libvirt_iface = libvi... | A GuestMonitor thread collects and reports statistics about 1 running guest | 6259904971ff763f4b5e8b55 |
class PlaybackTarget(object): <NEW_LINE> <INDENT> def on_event(self, event): <NEW_LINE> <INDENT> raise Exception("must implement this method") <NEW_LINE> <DEDENT> def debug_message(self, message): <NEW_LINE> <INDENT> print(message) <NEW_LINE> <DEDENT> def publish_stats(self, stats): <NEW_LINE> <INDENT> print(stats) | A class that receives on_event() callbacks. | 62599049498bea3a75a58ed0 |
class PlayerPipeline(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> engine = db_connect() <NEW_LINE> create_skater_table(engine) <NEW_LINE> self.Session = sessionmaker(bind=engine) <NEW_LINE> <DEDENT> def process_item(self, item, spider): <NEW_LINE> <INDENT> session = self.Session() <NEW_LINE> who... | pipeline for storing skater summary items in the database | 62599049d7e4931a7ef3d427 |
class Topic(models.Model): <NEW_LINE> <INDENT> text = models.CharField(max_length=200) <NEW_LINE> date_added = models.DateTimeField(auto_now_add=True) <NEW_LINE> owner = models.ForeignKey(User, on_delete=models.PROTECT) <NEW_LINE> def __str__(self): <NEW_LINE> <INDENT> return self.text | A topic the user is learning about | 62599049596a897236128f87 |
@attr.s(cmp=False, hash=False, slots=True) <NEW_LINE> class SummaryStats(object): <NEW_LINE> <INDENT> succeeded = attr.ib() <NEW_LINE> min_response_time = attr.ib() <NEW_LINE> avg_response_time = attr.ib() <NEW_LINE> max_response_time = attr.ib() <NEW_LINE> req_s = attr.ib() <NEW_LINE> failed = attr.ib() <NEW_LINE> @pr... | Represents summarized performance statistics for a TaskQueue. | 62599049097d151d1a2c241d |
class HostTimelinesView(TimelinesView, ComputeInfrastructureHostsView): <NEW_LINE> <INDENT> breadcrumb = BreadCrumb() <NEW_LINE> @property <NEW_LINE> def is_displayed(self): <NEW_LINE> <INDENT> return ( self.in_compute_infrastructure_hosts and '{} (Summary)'.format(self.context['object'].name) in self.breadcrumb.locati... | Represents a Host Timelines page. | 62599049b830903b9686ee53 |
class VolitileProducer(BaseProducer): <NEW_LINE> <INDENT> @timeit <NEW_LINE> def produce(self, topic:str, value:str, key:str): <NEW_LINE> <INDENT> producer = Producer(KAFKA_CONFIG) <NEW_LINE> producer.produce(topic, value, key) <NEW_LINE> producer.flush() | Producer gets created and discarded after sending a single message. | 62599049a79ad1619776b431 |
class PrivacyIdCountCombiner(Combiner): <NEW_LINE> <INDENT> AccumulatorType = int <NEW_LINE> def __init__(self, params: CombinerParams): <NEW_LINE> <INDENT> self._params = params <NEW_LINE> <DEDENT> def create_accumulator(self, values: Sized) -> AccumulatorType: <NEW_LINE> <INDENT> return 1 if values else 0 <NEW_LINE> ... | Combiner for computing DP privacy id count.
The type of the accumulator is int, which represents count of the elements
in the dataset for which this accumulator is computed. | 625990496fece00bbacccd68 |
class DescribeBrandCommentCountRequest(AbstractModel): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.BrandId = None <NEW_LINE> self.StartDate = None <NEW_LINE> self.EndDate = None <NEW_LINE> <DEDENT> def _deserialize(self, params): <NEW_LINE> <INDENT> self.BrandId = params.get("BrandId") <NEW_LINE> s... | DescribeBrandCommentCount请求参数结构体
| 62599049b57a9660fecd2e2d |
class PrepareMapResultTestCase(unittest.TestCase, DbTestMixin): <NEW_LINE> <INDENT> def tearDown(self): <NEW_LINE> <INDENT> self.teardown_output(self.output) <NEW_LINE> <DEDENT> def test_prepare_map_result_with_hazard(self): <NEW_LINE> <INDENT> self.output = self.setup_output() <NEW_LINE> self.output.min_value, self.ou... | Tests the behaviour of views.prepare_map_result(). | 6259904923849d37ff85246e |
class RegistroX356(Registro): <NEW_LINE> <INDENT> campos = [ CampoFixo(1, 'REG', 'X356'), CampoNumerico(2, 'PERC_PART'), CampoNumerico(3, 'ATIVO_TOTAL'), CampoNumerico(4, 'PAT_LIQUIDO'), ] | Demonstrativo de Estrutura Societária | 62599049b57a9660fecd2e2e |
class PacketCaptureListResult(msrest.serialization.Model): <NEW_LINE> <INDENT> _attribute_map = { 'value': {'key': 'value', 'type': '[PacketCaptureResult]'}, } <NEW_LINE> def __init__( self, **kwargs ): <NEW_LINE> <INDENT> super(PacketCaptureListResult, self).__init__(**kwargs) <NEW_LINE> self.value = kwargs.get('value... | List of packet capture sessions.
:param value: Information about packet capture sessions.
:type value: list[~azure.mgmt.network.v2020_11_01.models.PacketCaptureResult] | 625990498e05c05ec3f6f833 |
class LanguageBase(object): <NEW_LINE> <INDENT> lpar = "(" <NEW_LINE> rpar = ")" <NEW_LINE> func_lpar = "(" <NEW_LINE> func_delim = "," <NEW_LINE> func_rpar = ")" <NEW_LINE> array_lpar = "[" <NEW_LINE> array_delim = "," <NEW_LINE> array_rpar = "]" <NEW_LINE> op_assign = "=" <NEW_LINE> eol = "\n" <NEW_LINE> replacements... | Base class defining a generic language.
Derive from this class to make include your own language | 62599049cad5886f8bdc5a57 |
class VirtualCollection(DAVCollection): <NEW_LINE> <INDENT> def __init__(self, path, environ, displayInfo, memberNameList): <NEW_LINE> <INDENT> DAVCollection.__init__(self, path, environ) <NEW_LINE> if isinstance(displayInfo, basestring): <NEW_LINE> <INDENT> displayInfo = {"type": displayInfo} <NEW_LINE> <DEDENT> asser... | Abstract base class for collections that contain a list of static members.
Member names are passed to the constructor.
getMember() is implemented by calling self.provider.getResourceInst() | 62599049d53ae8145f919811 |
class DefaultDiscovery(object): <NEW_LINE> <INDENT> METHODS = [StaticHostDiscovery, NUPNPDiscovery, SSDPDiscovery] <NEW_LINE> def discover(self): <NEW_LINE> <INDENT> for cls in self.METHODS: <NEW_LINE> <INDENT> method = cls() <NEW_LINE> try: <NEW_LINE> <INDENT> return method.discover() <NEW_LINE> <DEDENT> except Discov... | Discovery methods that tries all other discovery methods sequentially. | 6259904996565a6dacd2d962 |
class itkImageFileReaderVIUL2(itkImageSourcePython.itkImageSourceVIUL2): <NEW_LINE> <INDENT> thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') <NEW_LINE> def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined") <NEW_LINE> __repr__ = _swig_... | Proxy of C++ itkImageFileReaderVIUL2 class | 6259904929b78933be26aa9b |
class metavfs(object): <NEW_LINE> <INDENT> metapaths = {} <NEW_LINE> @util.propertycache <NEW_LINE> def metalog(self): <NEW_LINE> <INDENT> vfs = self.vfs <NEW_LINE> metalog = bindings.metalog.metalog.openfromenv(self.vfs.join("metalog")) <NEW_LINE> tracked = set(pycompat.decodeutf8((metalog.get("tracked") or b"")).spli... | Wrapper vfs that writes data to metalog | 625990498e71fb1e983bce77 |
class Tipo(Enum): <NEW_LINE> <INDENT> UNO = 1 <NEW_LINE> DOS = 2 <NEW_LINE> TRES = 3 <NEW_LINE> CUATRO = 4 | Clase auxiliar para enumerar el tipo de elemento a utilizar (Tipo1, Tipo2, Tipo3 o Tipo4) | 6259904945492302aabfd884 |
class UnsupportedRootElementError(Exception): <NEW_LINE> <INDENT> def __init__(self, message, expected=None, found=None): <NEW_LINE> <INDENT> super(UnsupportedRootElementError, self).__init__(message) <NEW_LINE> self.expected = expected <NEW_LINE> self.found = found | Raised when an input STIX document does not contain a supported root-
level element. | 6259904907f4c71912bb07e5 |
class Register(APIView): <NEW_LINE> <INDENT> authentication_classes = (CsrfExemptSessionAuthentication, BasicAuthentication) <NEW_LINE> @classmethod <NEW_LINE> def post(cls, request): <NEW_LINE> <INDENT> password = request.data.get('password') <NEW_LINE> email = request.data.get('email') <NEW_LINE> username = request.d... | To register a user on to the platform | 6259904923e79379d538d8b0 |
class PDS4StreamHandler(logging.StreamHandler): <NEW_LINE> <INDENT> def __init__(self, name, level=_loud): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> logging.StreamHandler.__init__(self, stream=sys.stdout) <NEW_LINE> <DEDENT> except TypeError: <NEW_LINE> <INDENT> logging.StreamHandler.__init__(self, strm=sys.stdout) ... | Custom StreamHandler that has a *name* and a *is_quiet* attributes. | 6259904926068e7796d4dcf6 |
@dataclass <NEW_LINE> class AssetSerializer(BaseEntitySerializer): <NEW_LINE> <INDENT> class Meta: <NEW_LINE> <INDENT> model = Asset <NEW_LINE> <DEDENT> asset_id: AssetIdType = field(default_factory=uuid4, repr=False) <NEW_LINE> symbol: str = field(default_factory=str) <NEW_LINE> asset_class: str = field(default_factor... | AssetSerializer object is for serializing entity and deserializing data | 62599049dc8b845886d5496e |
class CheckLoginHandler(BaseHandler): <NEW_LINE> <INDENT> def get(self): <NEW_LINE> <INDENT> if self.get_current_user(): <NEW_LINE> <INDENT> self.write({"errno":RET.OK, "errmsg":"true", "data":{"name":self.session.data.get("name")}}) <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> self.write({"errno":RET.SESSIONERR, "err... | 检查登陆状态 | 6259904976d4e153a661dc4f |
class HiliteTreeprocessor(Treeprocessor): <NEW_LINE> <INDENT> def run(self, root): <NEW_LINE> <INDENT> blocks = root.iter("pre") <NEW_LINE> for block in blocks: <NEW_LINE> <INDENT> if len(block) == 1 and block[0].tag == "code": <NEW_LINE> <INDENT> html = highlight(block[0].text, self.config, self.markdown.tab_length) <... | Hilight source code in code blocks. | 62599049009cb60464d028e8 |
class NameOfCommand(gdb.Command): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super(NameOfCommand, self).__init__('nameof', gdb.COMMAND_DATA) <NEW_LINE> <DEDENT> @errorwrap <NEW_LINE> def invoke(self, args, from_tty): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> obj = gdb.parse_and_eval(args) <NEW_LINE>... | Print the name of an HHVM object. | 625990490fa83653e46f6290 |
class ServiceContext(InstanceContext): <NEW_LINE> <INDENT> def __init__(self, version, sid): <NEW_LINE> <INDENT> super(ServiceContext, self).__init__(version) <NEW_LINE> self._solution = {'sid': sid, } <NEW_LINE> self._uri = '/Services/{sid}'.format(**self._solution) <NEW_LINE> self._environments = None <NEW_LINE> self... | PLEASE NOTE that this class contains preview products that are subject
to change. Use them with caution. If you currently do not have developer
preview access, please contact help@twilio.com. | 62599049d53ae8145f919813 |
class GitFetchStrategy(VCSFetchStrategy): <NEW_LINE> <INDENT> enabled = True <NEW_LINE> required_attributes = ('git',) <NEW_LINE> def __init__(self, **kwargs): <NEW_LINE> <INDENT> super(GitFetchStrategy, self).__init__( 'git', 'tag', 'branch', 'commit', **kwargs) <NEW_LINE> self._git = None <NEW_LINE> if not self.branc... | Fetch strategy that gets source code from a git repository.
Use like this in a package:
version('name', git='https://github.com/project/repo.git')
Optionally, you can provide a branch, or commit to check out, e.g.:
version('1.1', git='https://github.com/project/repo.git', tag='v1.1')
You can use these three... | 625990498da39b475be045a4 |
class UpdateProfileForm(BaseModel): <NEW_LINE> <INDENT> bio: str = None <NEW_LINE> gender: str = None | Form to update user profile | 6259904991af0d3eaad3b1d9 |
class BasisState(object): <NEW_LINE> <INDENT> def __init__(self, state, msb=None): <NEW_LINE> <INDENT> if msb is None: <NEW_LINE> <INDENT> self.bit_seq = state <NEW_LINE> self.decimal = self._binary_to_decimal(state) <NEW_LINE> self.msb = len(state) - 1 <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> self.bit_seq = self.... | The basis states of the system | 62599049d7e4931a7ef3d42b |
class Graph: <NEW_LINE> <INDENT> sort_key = None <NEW_LINE> def __init__(self): <NEW_LINE> <INDENT> self._inputs_of = defaultdict(set) <NEW_LINE> self._consequences_of = defaultdict(set) <NEW_LINE> <DEDENT> def sorted(self, nodes, reverse=False): <NEW_LINE> <INDENT> nodes = list(nodes) <NEW_LINE> try: <NEW_LINE> <INDEN... | 一个关于构建任务之间关系的有向图.
一个任务是通过 hash 值直接获取的, 这里使用 python 的 dictionary key. | 62599049d10714528d69f068 |
class Enemies(pg.sprite.DirtySprite): <NEW_LINE> <INDENT> def __init__(self, game, player, pos, size, *groups): <NEW_LINE> <INDENT> super().__init__(*groups) <NEW_LINE> self.game = game <NEW_LINE> self.image = pg.Surface(size).convert() <NEW_LINE> self.image.fill(c.SILVER) <NEW_LINE> self.rect = self.image.get_rect() <... | Basic enemy class. | 6259904950485f2cf55dc33e |
class RemoveContactNotificationProtocolEntity(ContactNotificationProtocolEntity): <NEW_LINE> <INDENT> def __init__(self, _id, _from, timestamp, notify, offline, contactJid): <NEW_LINE> <INDENT> super(RemoveContactNotificationProtocolEntity, self).__init__(_id, _from, timestamp, notify, offline) <NEW_LINE> self.setData... | <notification offline="0" id="{{NOTIFICATION_ID}}" notify="{{NOTIFY_NAME}}" type="contacts"
t="{{TIMESTAMP}}" from="{{SENDER_JID}}">
<remove jid="{{SET_JID}}"> </remove>
</notification> | 6259904982261d6c527308a0 |
class TestUnicode(BaseS3CLICommand): <NEW_LINE> <INDENT> def test_cp(self): <NEW_LINE> <INDENT> bucket_name = self.create_bucket() <NEW_LINE> local_example1_txt = self.files.create_file('êxample.txt', 'example1 contents') <NEW_LINE> s3_example1_txt = 's3://%s/%s' % (bucket_name, os.path.basename(local_example1_txt)) <N... | The purpose of these tests are to ensure that the commands can handle
unicode characters in both keyname and from those generated for both
uploading and downloading files. | 625990498e05c05ec3f6f835 |
class ModelTestCase(TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> user = User.objects.create(username="testbot") <NEW_LINE> self.bucketlist_name = "Write world class code" <NEW_LINE> self.bucketlist = Bucketlist(name=self.bucketlist_name, owner=user) <NEW_LINE> <DEDENT> def test_model_can_create_a... | This class defines the test suite for the bucketlist model. | 6259904916aa5153ce4018a2 |
@model <NEW_LINE> class AudioData(MetaData): <NEW_LINE> <INDENT> Length = int <NEW_LINE> AudioEncoding = str <NEW_LINE> SampleRate = int <NEW_LINE> Channels = str <NEW_LINE> AudioBitrate = int <NEW_LINE> Title = str <NEW_LINE> Artist = str <NEW_LINE> Track = int <NEW_LINE> Album = str <NEW_LINE> Genre = str <NEW_LINE> ... | Provides the meta data that is extracted based on the content. | 6259904930c21e258be99bbb |
class NDArrayInterface(base.BaseMatrixInterface): <NEW_LINE> <INDENT> TARGET_MATRIX = numpy.ndarray <NEW_LINE> def const_to_matrix(self, value, convert_scalars=False): <NEW_LINE> <INDENT> if isinstance(value, cvxopt.spmatrix): <NEW_LINE> <INDENT> value = cvxopt.matrix(value) <NEW_LINE> value = numpy.array(value, dtype=... | An interface to convert constant values to the numpy ndarray class. | 625990494e696a045264e7fb |
class MockKLDivergence(object): <NEW_LINE> <INDENT> def __init__(self, result): <NEW_LINE> <INDENT> self.result = result <NEW_LINE> self.args = [] <NEW_LINE> self.called = Counter() <NEW_LINE> <DEDENT> def __call__(self, *args, **kwargs): <NEW_LINE> <INDENT> self.called() <NEW_LINE> self.args.append(args) <NEW_LINE> re... | Monitors DenseVariational calls to the divergence implementation. | 625990490a366e3fb87ddd9b |
class PreserveEphemeralRebuild(extensions.V21APIExtensionBase): <NEW_LINE> <INDENT> name = "PreserveEphemeralOnRebuild" <NEW_LINE> alias = ALIAS <NEW_LINE> version = 1 <NEW_LINE> def get_controller_extensions(self): <NEW_LINE> <INDENT> return [] <NEW_LINE> <DEDENT> def get_resources(self): <NEW_LINE> <INDENT> return []... | Allow preservation of the ephemeral partition on rebuild. | 6259904921a7993f00c6731f |
class FoursquareVenue: <NEW_LINE> <INDENT> __slots__ = ('foursquare_id', 'lat', 'lng', 'name', 'xtile', 'ytile') <NEW_LINE> def __init__(self, json_venue): <NEW_LINE> <INDENT> self.foursquare_id = json_venue['id'] <NEW_LINE> self.lat = json_venue['location']['lat'] <NEW_LINE> self.lng = json_venue['location']['lng'] <N... | Class for transporting information about the venue. Includes
the identifier for the tiles used from openstreetmap. | 6259904907f4c71912bb07e9 |
class EntryAdmin(SeoEntryAdminMixin, _entry_admin_base): <NEW_LINE> <INDENT> FIELDSET_GENERAL = (None, { 'fields': ('title', 'slug', 'status',), }) <NEW_LINE> declared_fieldsets = ( FIELDSET_GENERAL, AbstractEntryBaseAdmin.FIELDSET_PUBLICATION, SeoEntryAdminMixin.FIELDSET_SEO, ) <NEW_LINE> list_filter = list(_entry_adm... | The Django admin class for the default blog :class:`~fluent_blogs.models.Entry` model.
When using a custom model, you can use :class:`AbstractEntryBaseAdmin`, which isn't attached to any of the optional fields. | 6259904945492302aabfd889 |
class Array(_DatatypeBase): <NEW_LINE> <INDENT> def __init__(self, *dimensions): <NEW_LINE> <INDENT> assert len(dimensions) >= 1 <NEW_LINE> assert all(isinstance(d, (int, long)) for d in dimensions), "Dimensions must be ints, not %s" % (str(dimensions)) <NEW_LINE> self.dimensions = dimensions <NEW_LINE> num_... | Array Data Type | 6259904923e79379d538d8b4 |
class CategoryTreeRobot: <NEW_LINE> <INDENT> def __init__(self, catTitle, catDB, filename=None, maxDepth=10): <NEW_LINE> <INDENT> self.catTitle = catTitle <NEW_LINE> self.catDB = catDB <NEW_LINE> if filename and not os.path.isabs(filename): <NEW_LINE> <INDENT> filename = config.datafilepath(filename) <NEW_LINE> <DEDENT... | Robot to create tree overviews of the category structure.
Parameters:
* catTitle - The category which will be the tree's root.
* catDB - A CategoryDatabase object
* maxDepth - The limit beyond which no subcategories will be listed.
This also guarantees that loops in the category structu... | 6259904950485f2cf55dc33f |
class Country(htb.HTBObject): <NEW_LINE> <INDENT> rank: int <NEW_LINE> country_code: str <NEW_LINE> members: int <NEW_LINE> points: int <NEW_LINE> user_owns: int <NEW_LINE> root_owns: int <NEW_LINE> challenge_owns: int <NEW_LINE> user_bloods: int <NEW_LINE> root_bloods: int <NEW_LINE> fortress: int <NEW_LINE> endgame: ... | The class representing a Country
Attributes:
rank: The Country's global rank
country_code: The Country's country code
members: The number of members from the Country
points: The Country's total points
user_owns: The Country's total user owns
root_owns: The Country's total root owns
challeng... | 62599049ec188e330fdf9c53 |
class HelpCommand(commands.DefaultHelpCommand): <NEW_LINE> <INDENT> async def send_bot_help(self, mapping): <NEW_LINE> <INDENT> embed = self.create_embed( title=f"`{self.clean_prefix}help`", fields=[{ "name": cog.qualified_name if cog else '\u200B', "value": "\n".join([ self.short(command) for command in await self.fil... | Set up help command for the bot. | 62599049b5575c28eb7136a4 |
class VQE_light: <NEW_LINE> <INDENT> params = ([1, 3], [False, True]) <NEW_LINE> param_names = ["n_steps", "optimize"] <NEW_LINE> def time_hydrogen(self, n_steps, optimize): <NEW_LINE> <INDENT> hyperparams = {"n_steps": n_steps, "optimize": optimize} <NEW_LINE> benchmark_vqe(hyperparams) <NEW_LINE> <DEDENT> def peakmem... | Benchmark the VQE algorithm using different number of optimization steps and grouping
options. | 6259904950485f2cf55dc340 |
class DocumentNotFound(Exception): <NEW_LINE> <INDENT> pass | Exception returned when a document cannot be found. | 62599049009cb60464d028ec |
class Artist: <NEW_LINE> <INDENT> def __init__(self, artist_name): <NEW_LINE> <INDENT> self.artist_name = artist_name <NEW_LINE> self.artist_id = MusicBrainzHandler.get_artist_id_from_artist_name(self.artist_name) <NEW_LINE> self.artist_songs = MusicBrainzHandler.get_artist_songs_from_artist_id(self.artist_id) <NEW_LIN... | A class representing an artist | 62599049a79ad1619776b437 |
class PermissionHandler(BaseHandler): <NEW_LINE> <INDENT> def init_with_config(self, config): <NEW_LINE> <INDENT> super().init_with_config(config) <NEW_LINE> self.backend = DriveStorage(config) <NEW_LINE> self.db = DBStorage(config) <NEW_LINE> self.search = SearchHandler(config=config) <NEW_LINE> <DEDENT> def init_args... | This class handles adding permissions to uploaded files.
This has two main drawbacks as of now,
1. No control over the tag types. User can upload any data as tag.
2. Updating tags is not implemented.
NOTE: Mechanism to tag file while uploading has not yet been implemented. | 625990493cc13d1c6d466aef |
class ExplicitValidationFormMetaclass(DeclarativeFieldsMetaclass): <NEW_LINE> <INDENT> def __new__(cls, name, bases, attrs): <NEW_LINE> <INDENT> new_class = super(ExplicitValidationFormMetaclass, cls).__new__(cls, name, bases, attrs) <NEW_LINE> add_validators_to_class_fields(new_class) <NEW_LINE> return new_class | Adds explicit declared field validators to class fields | 6259904930c21e258be99bbd |
class RevokeLinkedAppStatus(bb.Struct): <NEW_LINE> <INDENT> __slots__ = [ '_success_value', '_error_type_value', ] <NEW_LINE> _has_required_fields = True <NEW_LINE> def __init__(self, success=None, error_type=None): <NEW_LINE> <INDENT> self._success_value = bb.NOT_SET <NEW_LINE> self._error_type_value = bb.NOT_SET <NEW... | :ivar team.RevokeLinkedAppStatus.success: Result of the revoking request.
:ivar team.RevokeLinkedAppStatus.error_type: The error cause in case of a
failure. | 625990498e71fb1e983bce7c |
class VoteHandler(MainHandler): <NEW_LINE> <INDENT> @_check_user_or_login <NEW_LINE> def get(self, article_key): <NEW_LINE> <INDENT> user = self.check_user() <NEW_LINE> article = db.get(article_key) <NEW_LINE> if user and article and not user.name in article.votes: <NEW_LINE> <INDENT> article.votes.append(user.name) <N... | handle article vote request. | 625990498a43f66fc4bf354d |
class JobManager(object): <NEW_LINE> <INDENT> def __init__(self, user, passwd, config): <NEW_LINE> <INDENT> self.user = user <NEW_LINE> self.passwd = passwd <NEW_LINE> self.config = config <NEW_LINE> self.jobs = Queue() <NEW_LINE> self.config["threads"] = max(min(self.config.get("threads", 5), 10), 1) <NEW_LINE> self.c... | Handles dividing up the scraping work and starting the scraper threads | 62599049e64d504609df9dac |
class VariableDatum( object ): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.variableDatumID = 0 <NEW_LINE> self.variableDatumLength = 0 <NEW_LINE> self.variableData = [] <NEW_LINE> <DEDENT> def datumPaddingSizeInBits(self): <NEW_LINE> <INDENT> padding = 0 <NEW_LINE> remainder = self.variableDatumLen... | the variable datum type, the datum length, and the value for that variable datum type. NOT COMPLETE. Section 6.2.93 | 62599049d7e4931a7ef3d42f |
class ApiClient: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.match_key = None <NEW_LINE> <DEDENT> def set_match_key(self): <NEW_LINE> <INDENT> req = requests.get(url = 'https://qkok.co.za/rps/auth.php') <NEW_LINE> response = req.json() <NEW_LINE> self.match_key = response['match_key'] <NEW_LINE> se... | Handles all API-calls to insert/select data | 6259904973bcbd0ca4bcb646 |
class MetadataLogger(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.__metadata = defaultdict(list) <NEW_LINE> <DEDENT> def log_metadata(self, label, value): <NEW_LINE> <INDENT> self.__metadata[label].append(value) <NEW_LINE> <DEDENT> def get_metadata(self, label, only_first=False): <NEW_LINE>... | This class provides a simple interface for assigning additional metadata to
any object in our data model. Examples: storing ANNOVAR columns like depth,
base count, dbSNP id, quality information for variants, additional prediction information
for peptides etc. This functionality is not used from core methods of FRED2.
... | 62599049462c4b4f79dbcdb8 |
class FirewallPolicyRule(msrest.serialization.Model): <NEW_LINE> <INDENT> _validation = { 'rule_type': {'required': True}, 'priority': {'maximum': 65000, 'minimum': 100}, } <NEW_LINE> _attribute_map = { 'rule_type': {'key': 'ruleType', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'priority': {'key': 'priorit... | Properties of the rule.
You probably want to use the sub-classes and not this class directly. Known
sub-classes are: FirewallPolicyFilterRule, FirewallPolicyNatRule.
All required parameters must be populated in order to send to Azure.
:param rule_type: Required. The type of the rule.Constant filled by server. Possi... | 62599049435de62698e9d1bf |
class PublicTagApiTests(APITestCase): <NEW_LINE> <INDENT> def test_login_required(self): <NEW_LINE> <INDENT> res = self.client.get(TAGS_URL) <NEW_LINE> self.assertEqual(res.status_code, status.HTTP_401_UNAUTHORIZED) | Test the publicly available Tag api | 6259904982261d6c527308a2 |
class IEditFinishedEvent(IObjectEvent): <NEW_LINE> <INDENT> pass | Base event signalling that an edit operation has completed
| 62599049a79ad1619776b439 |
class FineTuneSGD(Optimizer): <NEW_LINE> <INDENT> def __init__(self, exception_vars, multiplier=0.1, lr=0.01, momentum=0., decay=0., nesterov=False, **kwargs): <NEW_LINE> <INDENT> super(FineTuneSGD, self).__init__(**kwargs) <NEW_LINE> with K.name_scope(self.__class__.__name__): <NEW_LINE> <INDENT> self.iterations = K.v... | Stochastic gradient descent optimizer.
Includes support for momentum,
learning rate decay, and Nesterov momentum.
# Arguments
lr: float >= 0. Learning rate.
momentum: float >= 0. Parameter updates momentum.
decay: float >= 0. Learning rate decay over each update.
nesterov: boolean. Whether to apply Ne... | 6259904926238365f5fadf16 |
class qf_mac_gen_yibao_result: <NEW_LINE> <INDENT> thrift_spec = ( (0, TType.STRUCT, 'success', (EncryptorRet, EncryptorRet.thrift_spec), None, ), ) <NEW_LINE> def __init__(self, success=None,): <NEW_LINE> <INDENT> self.success = success <NEW_LINE> <DEDENT> def read(self, iprot): <NEW_LINE> <INDENT> if iprot.__class__ ... | Attributes:
- success | 62599049b57a9660fecd2e36 |
class BashCompletion(AutotoolsPackage): <NEW_LINE> <INDENT> homepage = "https://github.com/scop/bash-completion" <NEW_LINE> url = "https://github.com/scop/bash-completion/archive/2.3.tar.gz" <NEW_LINE> version('2.7', 'f72c9e2e877d188c3159956a3496a450e7279b76') <NEW_LINE> version('2.3', '67e50f5f3c804350b43f2b664c33dde8... | Programmable completion functions for bash. | 6259904996565a6dacd2d966 |
class HandDatset(Dataset): <NEW_LINE> <INDENT> def __init__(self, hand_root, transforms, train_set=True): <NEW_LINE> <INDENT> self.root = os.path.join(hand_root, 'Dataset') <NEW_LINE> if train_set: <NEW_LINE> <INDENT> txt_list = os.path.join(self.root, "train.csv") <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> txt_list... | 读取解析SCUT-Ego-Gesture Datasethttp://www.hcii-lab.net/data/scutegogesture/数据集 | 62599049a8ecb033258725cc |
@StatusCodes.EPIPE <NEW_LINE> @StatusCodes.ESHUTDOWN <NEW_LINE> class BrokenPipeError(ConnectionError, _BrokenPipeError): <NEW_LINE> <INDENT> pass | Broken pipe. | 62599049004d5f362081f9c4 |
class Device (_Ancestor_Essence) : <NEW_LINE> <INDENT> is_partial = True <NEW_LINE> class _Attributes (_Ancestor_Essence._Attributes) : <NEW_LINE> <INDENT> _Ancestor = _Ancestor_Essence._Attributes <NEW_LINE> class left (_Ancestor.left) : <NEW_LINE> <INDENT> role_type = CNDB.OMP.Device_Type <NEW_LINE> role_nam... | Model a device used by a CNDB node. | 6259904971ff763f4b5e8b5f |
class ReplaceUuid(InvariantAwareCommand): <NEW_LINE> <INDENT> path = None <NEW_LINE> _path = None <NEW_LINE> class PathArg(PathInvariant): <NEW_LINE> <INDENT> _help = "path of file to replace UUIDs in" <NEW_LINE> <DEDENT> def run(self): <NEW_LINE> <INDENT> out = self._out <NEW_LINE> options = self.options <NEW_LINE> ve... | Replaces UUIDs in a file with new ones. | 6259904924f1403a926862aa |
class AddItem(Model): <NEW_LINE> <INDENT> def __init__(self, category: str=None, food_item_name: str=None, quantity: int=None, price: int=None, eta: int=None, description: str=None): <NEW_LINE> <INDENT> self.swagger_types = { 'category': str, 'food_item_name': str, 'quantity': int, 'price': int, 'eta': int, 'descriptio... | NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually. | 625990496e29344779b019fc |
class LogisticRegression: <NEW_LINE> <INDENT> def __init__(self, input, n_in, n_out): <NEW_LINE> <INDENT> self.W = theano.shared(np.zeros((n_in, n_out), dtype = theano.config.floatX), name = 'W', borrow = True) <NEW_LINE> self.b = theano.shared(np.zeros((n_out,), dtype = theano.config.floatX), name = 'b', borrow = True... | multi-Class Logistic Regression
| 6259904950485f2cf55dc344 |
class ConvTranspose1D(nn.Module): <NEW_LINE> <INDENT> def __init__(self, size_in, length, size, stride=1, padding=None): <NEW_LINE> <INDENT> super(ConvTranspose1D, self).__init__() <NEW_LINE> util.autoassign(locals()) <NEW_LINE> padding = padding if padding is not None else self.length <NEW_LINE> self.ConvT = nn.ConvTr... | A one-dimensional convolutional layer.
| 62599049097d151d1a2c2428 |
class Actor(models.Model): <NEW_LINE> <INDENT> name = models.CharField('Имя', max_length=100) <NEW_LINE> age = models.PositiveSmallIntegerField('Возраст', default=0) <NEW_LINE> description = models.TextField('Описание') <NEW_LINE> image = models.ImageField('Изображение', upload_to='actors/') <NEW_LINE> def __str__(self... | Актеры и режиссеры | 62599049009cb60464d028f0 |
class Message(models.Model): <NEW_LINE> <INDENT> subject = models.CharField(_("Subject"), max_length=120) <NEW_LINE> body = models.TextField(_("Body")) <NEW_LINE> sender = models.ForeignKey(User, related_name='sent_messages', null=True, verbose_name=_("Sender")) <NEW_LINE> recipient = models.ForeignKey(User, related_na... | A private message from user to user | 625990491f5feb6acb163fb0 |
class BrokenTestCaseWarning(Warning): <NEW_LINE> <INDENT> pass | emitted as a warning when an exception occurs in one of
setUp, tearDown, setUpClass, or tearDownClass | 62599049d53ae8145f91981c |
class LotteryGame(GameBase): <NEW_LINE> <INDENT> _BOOKIE_PERCENT = 0.10 <NEW_LINE> _MAX_BET_PERCENT = 0.25 <NEW_LINE> def __init__(self, bookie): <NEW_LINE> <INDENT> self._bookie = bookie <NEW_LINE> self._winning_item = inventory_lib.Create('CoinPurse', None, None, {}) <NEW_LINE> <DEDENT> @property <NEW_LINE> def name(... | Betting on the lottery! The more you bet, the greater your chance! | 6259904923849d37ff852478 |
class PastMeetings(Client): <NEW_LINE> <INDENT> path = "/past_meetings/{meetingId}" <NEW_LINE> @validation <NEW_LINE> def instances(self, meetingId: int): <NEW_LINE> <INDENT> query = get_arguments(locals()) <NEW_LINE> path = self.path.format(**query) + "/instances" <NEW_LINE> return self.request(method="get", path=path... | @namespace Zoom.Meetings.PastMeetings
@class PastMeetings | 6259904926238365f5fadf18 |
class GeneralizationMixin(object): <NEW_LINE> <INDENT> def __init__(self, general=None, generalizationSet=None, isSubstitutable=None, specific=None, **kwargs): <NEW_LINE> <INDENT> super(GeneralizationMixin, self).__init__(**kwargs) | User defined mixin class for Generalization. | 625990498a43f66fc4bf3551 |
class AIMod(CoreService): <NEW_LINE> <INDENT> _name = "AdsbFirewall" <NEW_LINE> _group = "Security" <NEW_LINE> _depends = () <NEW_LINE> _dirs = () <NEW_LINE> _configs = ('aimod.cfg', 'aimod.sh') <NEW_LINE> _startindex = 50 <NEW_LINE> _startup = ('sh aimod.sh',) <NEW_LINE> _shutdown = ('pkill python',) <NEW_LINE> @class... | This is a sample user-defined service.
| 6259904945492302aabfd88e |
class SimpleClassifier(_BaseSimpleEstimator, ClassifierMixin): <NEW_LINE> <INDENT> def __init__(self, refit=True, random_state=None, verbose=1, type_hints=None, shuffle=True): <NEW_LINE> <INDENT> self.verbose = verbose <NEW_LINE> self.random_state = random_state <NEW_LINE> self.refit = refit <NEW_LINE> self.type_hints ... | Automagic anytime classifier.
Parameters
----------
refit : boolean, True
Whether to refit the model on the full dataset.
random_state : random state, int or None (default=None)
Random state or seed.
verbose : integer, default=1
Verbosity (higher is more output).
type_hints : dict or None
If dic... | 62599049a8ecb033258725ce |
class BeeWander: <NEW_LINE> <INDENT> def __init__(self, bee_name): <NEW_LINE> <INDENT> self.__bee = bee.Bee(name = bee_name) <NEW_LINE> <DEDENT> def go_straight(self): <NEW_LINE> <INDENT> self.__bee.set_vel(0.5,0.5) <NEW_LINE> <DEDENT> def turn_left(self): <NEW_LINE> <INDENT> self.__bee.set_vel(-0.1,0.1) <NEW_LINE> <DE... | A demo bee controller.
An simple example of using the Bee-API. | 625990493617ad0b5ee074f9 |
class TrackContainmentMode: <NEW_LINE> <INDENT> def __init__(self, orb): <NEW_LINE> <INDENT> self.orb = orb <NEW_LINE> self.b_in_menu = True <NEW_LINE> <DEDENT> def on_menu_focus(self): <NEW_LINE> <INDENT> self.b_in_menu = True <NEW_LINE> <DEDENT> def on_o_game_focus(self): <NEW_LINE> <INDENT> self.b_in_menu = False <N... | Tracks whether we are in the menu or not. | 62599049d7e4931a7ef3d433 |
class TestCompareXLSXFiles(ExcelComparisonTest): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.set_filename('image21.xlsx') <NEW_LINE> <DEDENT> def test_create_file(self): <NEW_LINE> <INDENT> workbook = Workbook(self.got_filename) <NEW_LINE> worksheet = workbook.add_worksheet() <NEW_LINE> worksheet.writ... | Test file created by XlsxWriter against a file created by Excel. | 62599049cad5886f8bdc5a5d |
class FlexResourceSchedulingGoalValueValuesEnum(_messages.Enum): <NEW_LINE> <INDENT> FLEXRS_UNSPECIFIED = 0 <NEW_LINE> FLEXRS_SPEED_OPTIMIZED = 1 <NEW_LINE> FLEXRS_COST_OPTIMIZED = 2 | Which Flexible Resource Scheduling mode to run in.
Values:
FLEXRS_UNSPECIFIED: Run in the default mode.
FLEXRS_SPEED_OPTIMIZED: Optimize for lower execution time.
FLEXRS_COST_OPTIMIZED: Optimize for lower cost. | 625990497cff6e4e811b6df7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.