text
stringlengths
78
104k
score
float64
0
0.18
def set_data_points(self, points): """ Input `points` must be in data coordinates, will be converted to the coordinate space of the object and stored. """ self.points = np.asarray(self.crdmap.data_to(points))
0.008065
def mnist(training): """Downloads MNIST and loads it into numpy arrays.""" if training: data_filename = 'train-images-idx3-ubyte.gz' labels_filename = 'train-labels-idx1-ubyte.gz' count = 60000 else: data_filename = 't10k-images-idx3-ubyte.gz' labels_filename = 't10k-labels-idx1-ubyte.gz' ...
0.012411
def update_fact(self, fact_id, fact, temporary_activity = False): """Update fact values. See add_fact for rules. Update is performed via remove/insert, so the fact_id after update should not be used anymore. Instead use the ID from the fact dict that is returned by this function""" ...
0.007491
def _sentence(self, words): """Generate a sentence""" db = self.database # Generate 2 words to start a sentence with seed = random.randint(0, db['word_count'] - 3) seed_word, next_word = db['words'][seed], db['words'][seed + 1] w1, w2 = seed_word, next_word # Ge...
0.002065
def build(args): """Build the documentation for the projects specified in the CLI. It will do 4 different things for each project the user asks for (see flags): 1. Update mkdocs's index.md file with links to project documentations 2. Build these documentations 3. Update th...
0.000596
def detach_screens(self, screen_ids): """Unplugs monitors from the virtual graphics card. in screen_ids of type int """ if not isinstance(screen_ids, list): raise TypeError("screen_ids can only be an instance of type list") for a in screen_ids[:10]: if n...
0.005587
def remove(self, elem): """Removes _elem_ from the collection, will raise a KeyError is _elem_ is missing # Parameters _elem_ : `object` > The object to be removed """ try: return self._collection.remove(elem) except KeyError: raise KeyE...
0.009685
def _write_branch_and_tag_to_meta_yaml(self): """ Write branch and tag to meta.yaml by editing in place """ ## set the branch to pull source from with open(self.meta_yaml.replace("meta", "template"), 'r') as infile: dat = infile.read() newdat = dat.format(...
0.006682
def framers(self): """ Reset the framers in use for the connection to be a tendril.IdentityFramer. The framer states will be reset next time their respective framer is used. """ f = self.default_framer() self._send_framer = f self._recv_framer = f
0.00639
def get_group(self, t, i): """Get group number.""" try: value = [] if t in _DIGIT and t != '0': value.append(t) t = next(i) if t in _DIGIT: value.append(t) else: i.rewind(1) ...
0.004831
def to_cnf(self): """Return an equivalent expression in conjunctive normal form.""" node = self.node.to_cnf() if node is self.node: return self else: return _expr(node)
0.008929
def Disconnect(self, reason=None, isDead=True): """Close the connection with the remote node client.""" self.disconnecting = True self.expect_verack_next = False if reason: logger.debug(f"Disconnecting with reason: {reason}") self.stop_block_loop() self.stop_h...
0.00453
def nFreeParams(self): """Count the number of free parameters in the active model.""" nF = 0 pars = self.params() for par in pars: if par.isFree(): nF += 1 return nF
0.008584
def splitFile(inputFileName, linePerFile, outPrefix): """Split a file. :param inputFileName: the name of the input file. :param linePerFile: the number of line per file (after splitting). :param outPrefix: the prefix of the output files. :type inputFileName: str :type linePerFile: int :typ...
0.000471
def get_template(name): """ Look for 'name' in the vr.runners.templates folder. Return its contents. >>> import six >>> tmpl = get_template('base_image.lxc') >>> isinstance(tmpl, six.string_types) True """ path = 'templates/' + name b_stream = pkg_resources.resource_stream('vr.imag...
0.002681
def _trna_annotation(data): """ use tDRmapper to quantify tRNAs """ trna_ref = op.join(dd.get_srna_trna_file(data)) name = dd.get_sample_name(data) work_dir = utils.safe_makedir(os.path.join(dd.get_work_dir(data), "trna", name)) in_file = op.basename(data["clean_fastq"]) tdrmapper = os.p...
0.004492
def read_dir(self, path): """ Reads the given path into the tree """ self.tree = {} self.file_count = 0 self.path = path for root, _, filelist in os.walk(path): rel = root[len(path):].lstrip('/\\') # empty rel, means file is in root dir ...
0.003549
def init_gl(self): """ Perform the magic incantations to create an OpenGL scene using pyglet. """ # default background color is white-ish background = [.99, .99, .99, 1.0] # if user passed a background color use it if 'background' in self.kwargs: ...
0.002146
def convert_descriptor(self, descriptor): """Convert descriptor to BigQuery """ # Fields fields = [] fallbacks = [] schema = tableschema.Schema(descriptor) for index, field in enumerate(schema.fields): converted_type = self.convert_type(field.type) ...
0.00237
def from_record(self, record): """ Constructs and returns a sequenced item object, from given ORM object. """ kwargs = self.get_field_kwargs(record) return self.sequenced_item_class(**kwargs)
0.008658
def get_result_xml(result): """ Formats a scan result to XML format. Arguments: result (dict): Dictionary with a scan result. Return: Result as xml element object. """ result_xml = Element('result') for name, value in [('name', result['name']), ('type', ...
0.001389
def _apply_updates(self, gradients): """Apply AdaGrad update to parameters. Parameters ---------- gradients Returns ------- """ if not hasattr(self, 'optimizers'): self.optimizers = \ {obj: AdaGradOptimizer(self.learning_rate...
0.00315
def route(self, uri, *args, **kwargs): """Create a plugin route from a decorated function. :param uri: endpoint at which the route will be accessible. :type uri: str :param args: captures all of the positional arguments passed in :type args: tuple(Any) :param kwargs: capt...
0.00189
def deploy_ext(self): ''' Deploy the ext_mods tarball ''' if self.mods.get('file'): self.shell.send( self.mods['file'], os.path.join(self.thin_dir, 'salt-ext_mods.tgz'), ) return True
0.007168
def remove_colormap(self, removal_type): """Remove a palette (colormap); if no colormap, returns a copy of this image removal_type - any of lept.REMOVE_CMAP_* """ with _LeptonicaErrorTrap(): return Pix( lept.pixRemoveColormapGeneral(self._cdata, ...
0.008333
def get_package_for_module(module): """Get package name for a module. Helper calculates the package name of a module. Args: module: Module to get name for. If module is a string, try to find module in sys.modules. Returns: If module contains 'package' attribute, uses that as pack...
0.000845
def _none_subst(self, *args): """ Helper function to insert full ranges for |None| for X_iter methods. Custom method, specifically tailored, taking in the arguments from an X_iter method and performing the replacement of |None| after error-checking the arguments for a max of one |None| ...
0.003089
def collect_segment_partitions(self): """Return a dict of segments partitions, keyed on the name of the parent partition """ from collections import defaultdict # Group the segments by their parent partition name, which is the # same name, but without the segment. partit...
0.005282
def _save_notebook(self, os_path, nb): """Save a notebook to an os_path.""" with self.atomic_writing(os_path, encoding='utf-8') as f: if ftdetect(os_path) == 'notebook': nbformat.write(nb, f, version=nbformat.NO_CONVERT) elif ftdetect(os_path) == 'markdown': ...
0.003091
def schema_to_json(self, schema_list, destination): """Takes a list of schema field objects. Serializes the list of schema field objects as json to a file. Destination is a file path or a file object. """ json_schema_list = [f.to_api_repr() for f in schema_list] if isi...
0.005263
def get_client_by_appid(self, authorizer_appid): """ 通过 authorizer_appid 获取 Client 对象 :params authorizer_appid: 授权公众号appid """ access_token_key = '{0}_access_token'.format(authorizer_appid) refresh_token_key = '{0}_refresh_token'.format(authorizer_appid) access_t...
0.001792
def expr_tokenizer(expr, operator_tokens): """expr_tokenizer yields the components ("tokens") forming the expression. Tokens are split by whitespace which is never considered a token in its own right. operator_tokens should likely include "(" and ")" and strictly the expression. This means that the wor...
0.001098
def read(self, subpath=None): """ Returns the UTF-8 Readme content. Raises ReadmeNotFoundError if subpath is specified since subpaths are not supported for text readers. """ # Lazily read STDIN if self.text is None and subpath is None: self.text = sel...
0.005141
def palette(hues, saturations, values): """Generate a palette. Parameters ---------- hues : `int` Number of hues. saturations : `int` Number of saturations. values : `int` Number of values. Raises ------ ValueError If `hues` * `saturations` * `values...
0.000654
def _inertia_from_labels(X, centers, labels): """Compute inertia with cosine distance using known labels. """ n_examples, n_features = X.shape inertia = np.zeros((n_examples,)) for ee in range(n_examples): inertia[ee] = 1 - X[ee, :].dot(centers[int(labels[ee]), :].T) return np.sum(inert...
0.003096
def unsubscribe(self, jid, node=None, *, subscription_jid=None, subid=None): """ Unsubscribe from a node. :param jid: Address of the PubSub service. :type jid: :class:`aioxmpp.JID` :param node: Name of the PubSub node to unsubscribe from. ...
0.003065
def save(self, inplace=True): """ Saves modification to the api server. """ modified = self._modified_data() if bool(modified): new_data = self.permissions.copy() new_data.update(modified['permissions']) data = { 'permissions': ...
0.003953
async def fetch_batch(self, request): """Fetches a specific batch from the validator, specified by id. Request: path: - batch_id: The 128-character id of the batch to be fetched Response: data: A JSON object with the data from the fully expanded Batch ...
0.002114
def sample(self, batch_size, batch_idxs=None): """Return a randomized batch of experiences # Argument batch_size (int): Size of the all batch batch_idxs (int): Indexes to extract # Returns A list of experiences randomly selected """ # It is no...
0.004548
def create_pool(self, name, method='ROUND_ROBIN'): ''' Create a pool on the F5 load balancer ''' lbmethods = self.bigIP.LocalLB.Pool.typefactory.create( 'LocalLB.LBMethod' ) supported_method = [i[0] for i in lbmethods if ( i[0].split('_', 2)[-1] =...
0.002294
def __rename_path(self, source, target): """ Renames given source with given target name. :param source: Source file. :type source: unicode :param target: Target file. :type target: unicode """ if not foundations.common.path_exists(source): r...
0.006868
def _parse_transpile_args(circuits, backend, basis_gates, coupling_map, backend_properties, initial_layout, seed_transpiler, optimization_level, pass_manager): """Resolve the various types of args allowed to the transpile() function throu...
0.004241
def _set_ipv6_address(self, v, load=False): """ Setter method for ipv6_address, mapped from YANG variable /interface/fortygigabitethernet/ipv6/ipv6_config/address/ipv6_address (list) If this variable is read-only (config: false) in the source YANG file, then _set_ipv6_address is considered as a private ...
0.003726
def memoize(obj): """ Memoize objects to trade memory for execution speed Use a limited size cache to store the value, which takes into account The calling args and kwargs See https://wiki.python.org/moin/PythonDecoratorLibrary#Memoize """ cache = obj.cache = {} @functools....
0.001543
def add_prefix(self, args): """ Add a prefix. Valid keys in the `args`-struct: * `auth` [struct] Authentication options passed to the :class:`AuthFactory`. * `attr` [struct] Attributes to set on the new prefix. * `args` [srgs] ...
0.003601
def entrance_angled(angle, method='Idelchik'): r'''Returns loss coefficient for a sharp, angled entrance to a pipe flush with the wall of a reservoir. First published in [2]_, it has been recommended in [3]_ as well as in [1]_. .. math:: K = 0.57 + 0.30\cos(\theta) + 0.20\cos(\theta)^2 .. ...
0.003755
def pave_event_space(fn=pair): """ :return: a pair producer that ensures the seeder and delegator share the same event space. """ global _event_space event_space = next(_event_space) @_ensure_seeders_list def p(seeders, delegator_factory, *args, **kwargs): return fn(seeders ...
0.004454
def _linearEOM(y,t,pot): """ NAME: linearEOM PURPOSE: the one-dimensional equation-of-motion INPUT: y - current phase-space position t - current time pot - (list of) linearPotential instance(s) OUTPUT: dy/dt HISTORY: 2010-07-13 - Bovy (NYU) ""...
0.016
def _output_to_list(cmdoutput): ''' Convert rabbitmqctl output to a list of strings (assuming whitespace-delimited output). Ignores output lines that shouldn't be parsed, like warnings. cmdoutput: string output of rabbitmqctl commands ''' return [item for line in cmdoutput.splitlines() if _safe_...
0.00838
def get_identifiability_dataframe(self,singular_value=None,precondition=False): """get the parameter identifiability as a pandas dataframe Parameters ---------- singular_value : int the singular spectrum truncation point. Defaults to minimum of non-zero-weighted ...
0.005133
def save_list(lst, path): """ Save items from list to the file. """ with open(path, 'wb') as out: lines = [] for item in lst: if isinstance(item, (six.text_type, six.binary_type)): lines.append(make_str(item)) else: lines.append(ma...
0.002564
def bg_compensate(img, sigma, splinepoints, scale): '''Reads file, subtracts background. Returns [compensated image, background].''' from PIL import Image import pylab from matplotlib.image import pil_to_array from centrosome.filter import canny import matplotlib img = Image.open(img) ...
0.015662
def sentence_matches(self, sentence_text): """Returns true iff the sentence contains this mention's upstream and downstream participants, and if one of the stemmed verbs in the sentence is the same as the stemmed action type.""" has_upstream = False has_downstream = False ...
0.005445
def ul( self, text): """*convert plain-text to MMD unordered list* **Key Arguments:** - ``text`` -- the text to convert to MMD unordered list **Return:** - ``ul`` -- the MMD unordered list **Usage:** To convert text to a MMD...
0.003745
def _find_parameter(self, name_list, create_missing=False, quiet=False): """ Tries to find and return the parameter of the specified name. The name should be of the form ['branch1','branch2', 'parametername'] Setting create_missing=True means if it doesn't find a branch it ...
0.006352
def rename(self, old_fieldname, new_fieldname): """ Renames a specific field, and preserves the underlying order. """ if old_fieldname not in self: raise Exception("DataTable does not have field `%s`" % old_fieldname) if not isinstance(new...
0.00274
def cross_state_value(state): """ Compute the state value of the cross solving search. """ centres, edges = state value = 0 for edge in edges: if "U" in edge: if edge["U"] == centres["D"]["D"]: value += 1 els...
0.004461
def _add_command(parser, subparser_fn, handler, cell_required=False, cell_prohibited=False): """ Create and initialize a pipeline subcommand handler. """ sub_parser = subparser_fn(parser) sub_parser.set_defaults(func=lambda args, cell: _dispatch_handler( args, cell, sub_parser, handler, cel...
0.01039
def get_all_hits(self): """ Return all of a Requester's HITs Despite what search_hits says, it does not return all hits, but instead returns a page of hits. This method will pull the hits from the server 100 at a time, but will yield the results iteratively, so s...
0.006427
def calculate_betweenness_centality(graph: BELGraph, number_samples: int = CENTRALITY_SAMPLES) -> Counter: """Calculate the betweenness centrality over nodes in the graph. Tries to do it with a certain number of samples, but then tries a complete approach if it fails. """ try: res = nx.betweenn...
0.006637
def scan(self, cursor='0', match=None, count=10): """Emulate scan.""" def value_function(): return sorted(self.redis.keys()) # sorted list for consistent order return self._common_scan(value_function, cursor=cursor, match=match, count=count)
0.014388
def pretty_print(input_word, anagrams, by_length=False): """Prints the anagram results sorted by score to stdout. Args: input_word: the base word we searched on anagrams: generator of (word, score) from anagrams_in_word by_length: a boolean to declare printing by length instead of score...
0.00088
def is_suspicious( pe ): """ unusual locations of import tables non recognized section names presence of long ASCII strings """ relocations_overlap_entry_point = False sequential_relocs = 0 # If relocation data is found and the entries go over the entry point, and also are very # c...
0.006893
def _uri_split(uri): """Splits up an URI or IRI.""" scheme, netloc, path, query, fragment = _safe_urlsplit(uri) auth = None port = None if '@' in netloc: auth, netloc = netloc.split('@', 1) if netloc.startswith('['): host, port_part = netloc[1:].split(']', 1) if port_p...
0.001887
def variantcall_batch_region(items): """CWL entry point: variant call a batch of samples in a block of regions. """ items = [utils.to_single_data(x) for x in items] align_bams = [dd.get_align_bam(x) for x in items] variantcaller = _get_batch_variantcaller(items) region_blocks = list(set([tuple(x...
0.003137
def included(self, path, is_dir=False): """Check patterns in order, last match that includes or excludes `path` wins. Return `None` on undecided.""" inclusive = None for pattern in self.patterns: if pattern.is_dir == is_dir and pattern.matches(path): inclusive = patte...
0.009547
def get_annotations(cls, __fn): """Get the annotations of a given callable.""" if hasattr(__fn, '__func__'): __fn = __fn.__func__ if hasattr(__fn, '__notes__'): return __fn.__notes__ raise AttributeError('{!r} does not have annotations'.format(__fn))
0.006536
def concentration(self, pM=False): """Return the concentration (in Moles) of the particles in the box. """ concentr = (self.num_particles / NA) / self.box.volume_L if pM: concentr *= 1e12 return concentr
0.007843
def context(self): """ An execution context created using :mod:`executor.contexts`. The value of :attr:`context` defaults to a :class:`~executor.contexts.LocalContext` object with the following characteristics: - The working directory of the execution context is set to ...
0.002389
def _load_raw_data(self, resource_name): """Extract raw data from resource :param resource_name: """ # Instantiating the resource again as a simple `Resource` ensures that # ``data`` will be returned as bytes. upcast_resource = datapackage.Resource( self.__re...
0.004566
def fit(self, X, y=None): """Compute mixture of von Mises Fisher clustering. Parameters ---------- X : array-like or sparse matrix, shape=(n_samples, n_features) """ if self.normalize: X = normalize(X) self._check_force_weights() random_state...
0.001938
def remove_value(self, keys, value): """ Remove a value (data item) from this tree node and its children. Also updates the tree node's cumulative child count. """ self.count -= 1 if not self.key: keys = self.__value_reverse_mapping[value] d...
0.004073
def bulk_add_units(unit_list, **kwargs): """ Save all the units contained in the passed list, with the name of their dimension. """ # for unit in unit_list: # add_unit(unit, **kwargs) added_units = [] for unit in unit_list: added_units.append(add_unit(unit, **kwargs)) r...
0.005556
def create_policy_for_vhost( self, vhost, name, definition, pattern=None, priority=0, apply_to='all'): """ Create a policy for a vhost. :param vhost: The virtual host the policy is for :type vhost: str :param name: The ...
0.001317
def setup_failures(self, gremlins): """Add gremlins to environment""" assert isinstance(gremlins, dict) and 'gremlins' in gremlins for gremlin in gremlins['gremlins']: self.setup_failure(**gremlin) self.push_rules()
0.007692
def add_directives(kb_app: kb, sphinx_app: Sphinx, sphinx_env: BuildEnvironment, docnames=List[str], ): """ For each resource type, register a new Sphinx directive """ for k, v in list(kb_app.config.resources.items()): sphinx_a...
0.002793
def makeMrkvHist(self): ''' Makes a history of macroeconomic Markov states, stored in the attribute MrkvNow_hist. This version ensures that each state is reached a sufficient number of times to have a valid sample for calcDynamics to produce a good dynamic rule. It will sometim...
0.009457
def json_tuple(col, *fields): """Creates a new row for a json column according to the given field names. :param col: string column in json format :param fields: list of fields to extract >>> data = [("1", '''{"f1": "value1", "f2": "value2"}'''), ("2", '''{"f1": "value12"}''')] >>> df = spark.creat...
0.00597
def find_invalid_venues(all_items): """Find venues assigned slots that aren't on the allowed list of days.""" venues = {} for item in all_items: valid = False item_days = list(item.venue.days.all()) for slot in item.slots.all(): for day in item_days: ...
0.001838
def backing_type_for(value): """Returns the DynamoDB backing type for a given python value's type :: 4 -> 'N' ['x', 3] -> 'L' {2, 4} -> 'SS' """ if isinstance(value, str): vtype = "S" elif isinstance(value, bytes): vty...
0.004286
def fromElement(cls, elem): """ Read properties from a MetaDataVersion element :param lxml.etree._Element elem: Source etree Element """ self = cls() self.oid = elem.get("OID") self.name = elem.get("Name") return self
0.007042
def _write_model(self, specification, specification_set): """ Write autogenerate specification file """ filename = "vspk/%s%s.cs" % (self._class_prefix, specification.entity_name) override_content = self._extract_override_content(specification.entity_name) superclass_name = "Re...
0.003561
def __save_plots_of_the_current_page(self, section, page, output_path): """This method saves plots in the appropriate section folder. As a consequence two plots cannot have the same name within the same section.""" for key in self.sections[section].pages[page].elements.keys(): ...
0.01996
def primers(self): """Setup and create threads for ePCR""" # Create the threads for the ePCR analysis for sample in self.metadata: if sample.general.bestassemblyfile != 'NA': threads = Thread(target=self.epcr, args=()) threads.setDaemon(True) ...
0.005855
def check_resources(self, number): '''Check <number> of URLs that have not been (recently) checked''' if not current_app.config.get('LINKCHECKING_ENABLED'): log.error('Link checking is disabled.') return base_pipeline = [ {'$match': {'resources': {'$gt': []}}}, {'$project': ...
0.000587
def load_jws_from_request(req): """ This function performs almost entirely bitjws authentication tasks. If valid bitjws message and signature headers are found, then the request will be assigned 'jws_header' and 'jws_payload' attributes. :param req: The flask request to load the jwt claim set from....
0.001923
def mergecopy(src, dest): """ copy2, but only if the destination isn't up to date """ if os.path.exists(dest) and os.stat(dest).st_mtime >= os.stat(src).st_mtime: return copy2(src, dest)
0.009346
def renderHTTP(self, context): """ Render C{self.resource} through a L{StylesheetRewritingRequestWrapper}. """ request = IRequest(context) request = StylesheetRewritingRequestWrapper( request, self.installedOfferingNames, self.rootURL) context.remember(request...
0.005263
def set_mode(self, mode): """Configure how this console will react to the cursor writing past the end if the console. This is for methods that use the virtual cursor, such as :any:`print_str`. Args: mode (Text): The mode to set. Possible settings are: ...
0.00304
def netconf_state_schemas_schema_version(self, **kwargs): """Auto Generated Code """ config = ET.Element("config") netconf_state = ET.SubElement(config, "netconf-state", xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring") schemas = ET.SubElement(netconf_state, "schemas")...
0.003881
def DomainTokensCreate(self, domain_id, amount): """ This method creates tokens that can be used by users who want to join the domain. Tokens are automatically deleted after usage. Only domain managers can create tokens. """ if self.__SenseApiCall__('/...
0.017176
def all_dimensions_names(self): """ Returns all the dimensions names, including the names of sub_fields and their corresponding packed fields """ return frozenset(self.array.dtype.names + tuple(self.sub_fields_dict.keys()))
0.011765
def usages_list(location, **kwargs): ''' .. versionadded:: 2019.2.0 List subscription network usage for a location. :param location: The Azure location to query for network usage. CLI Example: .. code-block:: bash salt-call azurearm_network.usages_list westus ''' netconn = ...
0.003145
def _get_func(cls, source_ver, target_ver): """ Return exactly one function to convert from source to target """ matches = ( func for func in cls._upgrade_funcs if func.source == source_ver and func.target == target_ver ) try: match, = matches except ValueError: raise ValueError( f"No migr...
0.039894
def start_depth_socket(self, symbol, callback, depth=None): """Start a websocket for symbol market depth returning either a diff or a partial book https://github.com/binance-exchange/binance-official-api-docs/blob/master/web-socket-streams.md#partial-book-depth-streams :param symbol: required ...
0.001596
def register_dde_task(self, *args, **kwargs): """Register a Dde task.""" kwargs["task_class"] = DdeTask return self.register_task(*args, **kwargs)
0.011765
def alpha(reliability_data=None, value_counts=None, value_domain=None, level_of_measurement='interval', dtype=np.float64): """Compute Krippendorff's alpha. See https://en.wikipedia.org/wiki/Krippendorff%27s_alpha for more information. Parameters ---------- reliability_data : array_like, ...
0.004364
def run_band_structure(self, paths, with_eigenvectors=False, with_group_velocities=False, is_band_connection=False, path_connections=None, labels=None, ...
0.003419
def __get_inferred_data_res_2(v=None, calc=True): """ Use a list of values to calculate m/m/m/m. Resolution values or otherwise. :param numpy array v: Values :param bool calc: If false, we don't need calculations :return dict: Results of calculation """ # Base: If something goes wrong, or i...
0.001426
def _get_cache_dates(self): """ Get s list of dates (:py:class:`datetime.datetime`) present in cache, beginning with the longest contiguous set of dates that isn't missing more than one date in series. :return: list of datetime objects for contiguous dates in cache :rtyp...
0.002208