text
stringlengths
3
1.43k
Returns the content types acceptable by the end user . This is determined by the Accept HTTP header . For example
this is analog to django s builtin permission_required decorator but improved to check per slug ACLRules and default permissions for anonymous and logged in users
Tries to activate account based on POST params .
Push a message onto a queue
Return a histogram of the different types of relations present in a graph .
RemoveAll removes path and any children it contains . It removes everything it can but returns the first error it encounters . If the path does not exist RemoveAll returns nil .
Checks if array contains adjacent values anywhere inside it . values cannot contain object .
Mint a unique identifier as a UUID
NewSecuredDevice returns a device for a specific name either loaded from the database or newly created . Additionally other device can only pair with by providing the correct pin .
Sync an jt file
Remove an event or a handler from it .
Adds a JavaScript plugin into TinyMCE . Note that adding a plugin does not by itself add a button ; you must do both .
Load vi location list .
SetIpRoutesInfo sets the IpRoutesInfo field s value .
Generate a c7n - org accounts config file using AWS Organizations
Verify that the previously saved md5 for the given file matches expectedMd5 .
Method that will be called for each property doc . Properties that are Angular inputs or outputs will be marked . Aliases for the inputs or outputs will be stored as well .
Build and return the post date that is needed to create a DNS entry .
Unindents a block of text by the lowest common indent amount .
Delete this object s attributes including name and id
add + hash + to manifest file .
Set the collection of TemplateRule objects composing the template processing .
Handle the update of a MetaModel and all attached data .
SetEnabled is used to control if the watcher is enabled . The watcher should only be enabled on the active leader . When being enabled the state is passed in as it is no longer valid once a leader election has taken place .
UpdateGCS updates a specific GCS .
Helper functions for remoteOpen
get mmap size
Hashes a password with a random salt using the memory - hard scryptsalsa208sha256 construct and returning an ascii string that has all the needed info to check against a future password
Formats a string containing the fully - qualified path to represent a parent resource .
Updates ACL users .
Tests if an input is valid PHP serialized string
Discard all entries on the write queues
Selectively updates Table information .
Decodes the image provided in various formats i . e . png 16 - bit float tiff 32 - bit float tiff jp2 and returns it as an numpy array
AddChild adds a new child node to this node .
generateType writes generated code for the type into w
Get the estimated variance .
Register the Love event listeners .
Adds all error data . Also clears out any null values .
Validates a CreditCard object .
will have issues!!!!!
Train on examples .
Update an incident update .
Creates the configuration for an id field on a node using to_global_id to construct the ID from the provided typename . The type - specific ID is fetcher by calling id_fetcher on the object or if not provided by accessing the id property on the object .
Create a new instance from a dict .
Reads text content from a dashlet node .
Internal method providing raw RSA decryption i . e . simple modular exponentiation of the given ciphertext representative c a long between 0 and n - 1 .
Gets line from the server .
Append a new provenance step .
Returns filenames keyed by variant .
Return a SpEL evaluation context for the supplied portlet request .
Returns the path to the file .
NewAPI implements the API used by the machine undertaker worker to find out what provider - level resources need to be cleaned up when a machine goes away .
Returns a factor which is 1 if all values in the time series occur only once and below one if this is not the case . In principle it just returns
NewDeleteClaim creates a new claim to delete a target claim or permanode .
A string with absolute path to file .
A convenience function to configure and construct a lunr . Index .
Gets additional data for given dependencies .
Adds the matching x - > y .
Returns a list with the names of the institution . The optional arguments are ignored
Select a random version .
Return a set of all label - values occurring in this utterance .
Opens a Django focussed Python shell . Essentially the equivalent of running manage . py shell .
Returns the requested table specification if it exists
Puts all the child widgets in the correct position .
Query NSoT API for network devices
Prepares the data to be serialized
Construct from URL
Get user role
Return a list of the admins in the account .
FileModeGoString returns the value of the os . FileMode for printing in a string .
List metrics for this tenant .
Forcibly remove and recreate the project directory
Fit the ComputationGraph using a MultiDataSet
Do the validation . This process starts by filtering the value then checks the validity and finally checks the constraints .
Creates a ZoneMemberZone instance from the provided definition .
Set capacity changes the capacity of the pool . You can use it to expand or shrink .
SetLogThreshold establishes a threshold where anything matching or above will be logged .
makes matrix weights and deltas all ones
Manages a list of all objects and their tile positions . Handles adding removing moving objects within the game .
r Find the Geometry associated with a given Physics
Switch back to the origin fiber . The fiber is switch in next time the event loop runs .
Uses querySelectorAll to find all matching elements contained within the current View s element but not within the elements of child Views
Check that property conforms to schema and convert it if needed
Rounds a currency value applying increment rounding if applicable .
Return a tuple of sorted sources and targets given a node dict .
Cast a string argument to its typed equivalent .
The point that is the GOLDEN_SECTION along the way from a to b . a may be less or greater than b you find the point 60 - odd percent of the way from a to b .
Checks node is the first argument of its parent .
Get variable name from MATLAB workspace .
Properties of a CancelOperationRequest .
Return BaseAgent from an Agent creating it if needed .
Execute query .
Validate a dotted - quad ip address .
Register a new method for fetching credentials .
Prepare states for each star .
select a file from the local repo
Find any non - defined elements at TopLevel and create annotations
dialRaw dials a new TLS connection to the controller identified by the given address . The address is expected to be the stringified tag of a controller machine agent . The resulting connection is appropriate for use as Dialer . DialRaw .
Creates the functions mappers for all EL expressions in the JSP page .