sequence stringlengths 731 13.6k | docstring stringlengths 11 171 |
|---|---|
(module
(function_definition
(function_name_cli) function_name_cli
(parameters
(identifier_family_file) identifier_family_file
(identifier_family_type) identifier_family_type
(identifier_to_json) identifier_to_json
(identifier_to_madeline) identifier_to_madeline
(identifier_to_pe... | Cli for testing the ped parser. |
(module
(function_definition
(function_name_view_admin_log) function_name_view_admin_log
(parameters
)parameters
(block
(expression_statement
(assignment
(identifier_build) identifier_build
(attribute
(identifier_g) identifier_g
(identifier_bui... | Page for viewing the log of admin activity. |
(module
(function_definition
(function_name_caesar_app) function_name_caesar_app
(parameters
(identifier_parser) identifier_parser
(identifier_cmd) identifier_cmd
(identifier_args) identifier_args
)parameters
(block
(expression_statement
(call
(attribute
... | Caesar crypt a value with a key. |
(module
(function_definition
(function_name_close) function_name_close
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(boolean_operator
(attribute
(identifier_self) identifier_self
(identifier__closing) identifier__c... | Close the transport after all oustanding data has been written. |
(module
(function_definition
(function_name_gas_price_strategy_middleware) function_name_gas_price_strategy_middleware
(parameters
(identifier_make_request) identifier_make_request
(identifier_web3) identifier_web3
)parameters
(block
(function_definition
(function_name_middle... | Includes a gas price using the gas price strategy |
(module
(function_definition
(function_name__validate_and_parse_course_key) function_name__validate_and_parse_course_key
(parameters
(identifier_self) identifier_self
(identifier_course_key) identifier_course_key
)parameters
(block
(try_statement
(block
(return_stat... | Returns a validated parsed CourseKey deserialized from the given course_key. |
(module
(function_definition
(function_name___add_item) function_name___add_item
(parameters
(identifier_self) identifier_self
(identifier_item) identifier_item
(default_parameter
(identifier_keys) identifier_keys
(None) None
)default_parameter
)parameters
(bloc... | Internal method to add an item to the multi-key dictionary |
(module
(function_definition
(function_name_clear) function_name_clear
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(attribute
(identifier_self) identifier_self
(identifier___modified_data__) id... | Clears all the data in the object, keeping original data |
(module
(function_definition
(function_name_getDownloader) function_name_getDownloader
(parameters
(identifier_self) identifier_self
(identifier_url) identifier_url
)parameters
(block
(expression_statement
(assignment
(identifier_filename) identifier_filename
... | Get an image downloader. |
(module
(function_definition
(function_name_validate) function_name_validate
(parameters
(identifier_self) identifier_self
(identifier_password) identifier_password
(default_parameter
(identifier_user) identifier_user
(None) None
)default_parameter
)parameters
(... | Validate method, run zxcvbn and check score. |
(module
(function_definition
(function_name_getLogger) function_name_getLogger
(parameters
(identifier_name) identifier_name
)parameters
(block
(expression_statement
(assignment
(identifier_log) identifier_log
(call
(attribute
(identifi... | Create and return a logger with the specified name. |
(module
(function_definition
(function_name_find_one) function_name_find_one
(parameters
(identifier_self) identifier_self
(identifier_cls) identifier_cls
(identifier_id) identifier_id
)parameters
(block
(expression_statement
(assignment
(identifier_found) ide... | Find single keyed row - as per the gludb spec. |
(module
(function_definition
(function_name_detect_lang) function_name_detect_lang
(parameters
(identifier_path) identifier_path
)parameters
(block
(expression_statement
(assignment
(identifier_blob) identifier_blob
(call
(identifier_FileBlob) identi... | Detect the language used in the given file. |
(module
(function_definition
(function_name_show_bandwidth_limit_rule) function_name_show_bandwidth_limit_rule
(parameters
(identifier_self) identifier_self
(identifier_rule) identifier_rule
(identifier_policy) identifier_policy
(default_parameter
(identifier_body) identifier_b... | Fetches information of a certain bandwidth limit rule. |
(module
(function_definition
(function_name_all_collections) function_name_all_collections
(parameters
(identifier_db) identifier_db
)parameters
(block
(expression_statement
(assignment
(identifier_include_pattern) identifier_include_pattern
(string_r'(?!system\... | Yield all non-sytem collections in db. |
(module
(function_definition
(function_name_database_current_migration) function_name_database_current_migration
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(not_operator
(call
(attribute
(attribute
... | Return the current migration in the database. |
(module
(function_definition
(function_name__check_file_io) function_name__check_file_io
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_folder) identifier_folder
(binary_operator
(binary... | Create and define logging directory |
(module
(function_definition
(function_name_image) function_name_image
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(comparison_operator
(attribute
(identifier_self) identifier_self
(identifier__image) identifier__... | Raster bitmap in numpy array. |
(module
(function_definition
(function_name_cli) function_name_cli
(parameters
(identifier_location) identifier_location
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
)dictionary_splat_pattern
)parameters
(block
(expression_statement
(assignmen... | Geocode an arbitrary number of strings from Command Line. |
(module
(function_definition
(function_name_as_python) function_name_as_python
(parameters
(identifier_self) identifier_self
(typed_parameter
(identifier_name) identifier_name
(type
(identifier_str) identifier_str
)type
)typed_parameter
)parameters
(... | Return the python representation of the class represented by this object |
(module
(function_definition
(function_name__unpack_lookupswitch) function_name__unpack_lookupswitch
(parameters
(identifier_bc) identifier_bc
(identifier_offset) identifier_offset
)parameters
(block
(expression_statement
(assignment
(identifier_jump) identifier_jum... | function for unpacking the lookupswitch op arguments |
(module
(function_definition
(function_name_import_description) function_name_import_description
(parameters
(identifier_text) identifier_text
)parameters
(block
(expression_statement
(assignment
(identifier_xml) identifier_xml
(string_'') string_''
)ass... | Convert ASCII text to AppStream markup format |
(module
(function_definition
(function_name_to_dict) function_name_to_dict
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_d) identifier_d
(call
(attribute
(call
... | Save this target execution context into a dictionary. |
(module
(function_definition
(function_name_delete) function_name_delete
(parameters
(identifier_request) identifier_request
(default_parameter
(identifier_obj_id) identifier_obj_id
(None) None
)default_parameter
)parameters
(block
(expression_statement
... | Removes ImageVideo objects from Gallery |
(module
(function_definition
(function_name_delete_source) function_name_delete_source
(parameters
(identifier_ident) identifier_ident
)parameters
(block
(expression_statement
(assignment
(identifier_source) identifier_source
(call
(identifier_get_so... | Delete an harvest source |
(module
(function_definition
(function_name_scale) function_name_scale
(parameters
(identifier_self) identifier_self
(identifier_scale_xy) identifier_scale_xy
)parameters
(block
(expression_statement
(string_"Returns the pix object rescaled according to the proportions given.... | Returns the pix object rescaled according to the proportions given. |
(module
(function_definition
(function_name_first_n_items) function_name_first_n_items
(parameters
(identifier_array) identifier_array
(identifier_n_desired) identifier_n_desired
)parameters
(block
(if_statement
(comparison_operator
(identifier_n_desired) identifier... | Returns the first n_desired items of an array |
(module
(function_definition
(function_name_rowkey) function_name_rowkey
(parameters
(identifier_self) identifier_self
(identifier_row) identifier_row
)parameters
(block
(expression_statement
(string_'returns a tuple of the key for the given row') string_'returns a tuple of t... | returns a tuple of the key for the given row |
(module
(function_definition
(function_name_accel_decrease_transparency) function_name_accel_decrease_transparency
(parameters
(identifier_self) identifier_self
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
)parameters
(block
(expression_stat... | Callback to decrease transparency. |
(module
(function_definition
(function_name_handle) function_name_handle
(parameters
(identifier_self) identifier_self
(list_splat_pattern
(identifier_args) identifier_args
)list_splat_pattern
(dictionary_splat_pattern
(identifier_options) identifier_options
)dict... | Call sync_from_stripe_data for each plan returned by api_list. |
(module
(function_definition
(function_name_CalcRad) function_name_CalcRad
(parameters
(identifier_lat) identifier_lat
)parameters
(block
(expression_statement
(string_"Radius of curvature in meters at specified latitude.") string_"Radius of curvature in meters at specified latitud... | Radius of curvature in meters at specified latitude. |
(module
(function_definition
(function_name_emitCurrentChanged) function_name_emitCurrentChanged
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(not_operator
(call
(attribute
(identifier_self) identifier_self
... | Emits the current index changed signal provided signals are not blocked. |
(module
(function_definition
(function_name__find_fuzzy_line) function_name__find_fuzzy_line
(parameters
(identifier_py_line_no) identifier_py_line_no
(identifier_py_by_line_no) identifier_py_by_line_no
(identifier_cheetah_by_line_no) identifier_cheetah_by_line_no
(identifier_prefer_fi... | Attempt to fuzzily find matching lines. |
(module
(function_definition
(function_name_set) function_name_set
(parameters
(identifier_self) identifier_self
(identifier_val) identifier_val
)parameters
(block
(expression_statement
(assignment
(identifier_msg) identifier_msg
(call
(identif... | Set the heat set point. |
(module
(function_definition
(function_name_on) function_name_on
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_on_command) identifier_on_command
(call
(identifier_ExtendedSend) identifi... | Send an ON message to device group. |
(module
(function_definition
(function_name_add_soup) function_name_add_soup
(parameters
(identifier_response) identifier_response
(identifier_soup_config) identifier_soup_config
)parameters
(block
(if_statement
(parenthesized_expression
(boolean_operator
... | Attaches a soup object to a requests response. |
(module
(function_definition
(function_name_help) function_name_help
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_result) identifier_result
(list
(binary_operator
(string... | Return the help string of the task |
(module
(function_definition
(function_name__get_cores_and_type) function_name__get_cores_and_type
(parameters
(identifier_numcores) identifier_numcores
(identifier_paralleltype) identifier_paralleltype
(identifier_scheduler) identifier_scheduler
)parameters
(block
(if_statemen... | Return core and parallelization approach from command line providing sane defaults. |
(module
(function_definition
(function_name_clean) function_name_clean
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(not_operator
(attribute
(identifier_self) identifier_self
(identifier_metrics) identifier_metrics... | Fill metrics with defaults on create |
(module
(function_definition
(function_name_main) function_name_main
(parameters
(typed_default_parameter
(identifier_argv) identifier_argv
(type
(generic_type
(identifier_Optional) identifier_Optional
(type_parameter
(type
... | Parse arguments and process the exam assignment. |
(module
(function_definition
(function_name_add_package) function_name_add_package
(parameters
(identifier_self) identifier_self
(identifier_package) identifier_package
)parameters
(block
(expression_statement
(call
(attribute
(attribute
(i... | Add a package to this project |
(module
(function_definition
(function_name_experimental) function_name_experimental
(parameters
(default_parameter
(identifier_name) identifier_name
(None) None
)default_parameter
)parameters
(block
(function_definition
(function_name_inner) function_name_inn... | A simple decorator to mark functions and methods as experimental. |
(module
(function_definition
(function_name_read_plain_float) function_name_read_plain_float
(parameters
(identifier_file_obj) identifier_file_obj
(identifier_count) identifier_count
)parameters
(block
(return_statement
(call
(attribute
(identifier_struc... | Read `count` 32-bit floats using the plain encoding. |
(module
(function_definition
(function_name__bridge) function_name__bridge
(parameters
(identifier_self) identifier_self
(identifier_channel) identifier_channel
)parameters
(block
(expression_statement
(call
(attribute
(identifier_channel) identifier_cha... | Full-duplex bridge between a websocket and a SSH channel |
(module
(function_definition
(function_name_density) function_name_density
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_r) identifier_r
(binary_operator
(attribute
(ident... | Stellar density in CGS units |
(module
(function_definition
(function_name_intersect) function_name_intersect
(parameters
(identifier_a) identifier_a
(identifier_b) identifier_b
)parameters
(block
(if_statement
(boolean_operator
(comparison_operator
(subscript
(identifie... | Check if two rectangles intersect |
(module
(function_definition
(function_name_starmodel_props) function_name_starmodel_props
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_props) identifier_props
(dictionary
)dictionary
... | Default mag_err is 0.05, arbitrarily |
(module
(function_definition
(function_name_generate_predict_json) function_name_generate_predict_json
(parameters
(identifier_position1_result) identifier_position1_result
(identifier_position2_result) identifier_position2_result
(identifier_ids) identifier_ids
(identifier_passage_tok... | Generate json by prediction. |
(module
(function_definition
(function_name_generate) function_name_generate
(parameters
(identifier_self) identifier_self
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
)dictionary_splat_pattern
)parameters
(block
(import_statement
(dotted_name... | run once to create all children containers for each combination of the keywords |
(module
(function_definition
(function_name_getBriefModuleInfoFromFile) function_name_getBriefModuleInfoFromFile
(parameters
(identifier_fileName) identifier_fileName
)parameters
(block
(expression_statement
(assignment
(identifier_modInfo) identifier_modInfo
(c... | Builds the brief module info from file |
(module
(function_definition
(function_name_notify_listeners) function_name_notify_listeners
(parameters
(identifier_self) identifier_self
(identifier_msg_type) identifier_msg_type
(identifier_params) identifier_params
)parameters
(block
(for_statement
(identifier_c) id... | Send a message to all the observers. |
(module
(function_definition
(function_name_check_server_running) function_name_check_server_running
(parameters
(identifier_pid) identifier_pid
)parameters
(block
(if_statement
(comparison_operator
(identifier_pid) identifier_pid
(call
(attribute
... | Determine if the given process is running |
(module
(function_definition
(function_name_load_empty) function_name_load_empty
(parameters
(identifier_cls) identifier_cls
(typed_parameter
(identifier_path) identifier_path
(type
(identifier_PathOrStr) identifier_PathOrStr
)type
)typed_parameter
(ty... | Load the state in `fn` to create an empty `LabelList` for inference. |
(module
(function_definition
(function_name__prepare_workdir) function_name__prepare_workdir
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_pants_jar_base_dir) identifier_pants_jar_base_dir
(call
... | Prepare the location in our task workdir to store all the hardlinks to coursier cache dir. |
(module
(function_definition
(function_name_render_te_response) function_name_render_te_response
(parameters
(identifier_self) identifier_self
(identifier_data) identifier_data
)parameters
(block
(if_statement
(boolean_operator
(comparison_operator
(stri... | Render data to JsonResponse |
(module
(function_definition
(function_name_parse_known_args) function_name_parse_known_args
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_args) identifier_args
(None) None
)default_parameter
(default_parameter
(identifier_namespac... | Parse args method to handle input-file dependent arguments. |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 6