query stringlengths 8 66.4k | positive_id stringlengths 14 145 | positive_code stringlengths 68 79.9k | negative_ids sequencelengths 1 100 | negative_codes sequencelengths 1 100 | repo stringclasses 273
values | base_commit stringlengths 40 40 | instance_id stringlengths 13 49 | negative_code_scores sequencelengths 1 100 | negative_code_rank sequencelengths 1 100 | positive_code_score float64 -0.02 0.85 | positive_code_rank int64 0 100k |
|---|---|---|---|---|---|---|---|---|---|---|---|
pip install rdflib doesn't install all dependencies
When I install rdflib with pip:
```
pip install rdflib
```
I don't get `requests` installed, even though it's in the *requirements.txt* file.
Is this correct behaviour?
Variables from query initBindings ignored in CONSTRUCT body
If I feed a `CONSTRUCT` que... | rdflib/store.py/Store/triples | rdflib/store.py/Store/triples
class Store: def triples(self, triple_pattern, context=None):
"""
A generator over all the triples matching the pattern. Pattern can
include any objects for used for comparing against nodes in the store,
for example, REGEXTerm, URIRef, Literal, BNode, Var... | [
"doc_191",
"doc_579",
"doc_600",
"doc_105",
"doc_595",
"doc_599",
"doc_231",
"doc_557",
"doc_236",
"doc_106",
"doc_585",
"doc_580",
"doc_547",
"doc_571",
"doc_545",
"doc_610",
"doc_586",
"doc_502",
"doc_125",
"doc_574",
"doc_97",
"doc_220",
"doc_596",
"doc_597",
"doc_... | [
"rdflib/graph.py/Graph/__getitem__\nclass Graph: def __getitem__(self, item):\n \"\"\"\n A graph can be \"sliced\" as a shortcut for the triples method\n The python slice syntax is (ab)used for specifying triples.\n A generator over matches is returned,\n the returned tuples in... | RDFLib/rdflib | 604d63e1b1750b26f7fd21b1d4ffb42d481d44c4 | RDFLib__rdflib-997 | [
0.42277777194976807,
0.4177438020706177,
0.4172099828720093,
0.41266554594039917,
0.40712928771972656,
0.40624889731407166,
0.39947041869163513,
0.39939677715301514,
0.3970828354358673,
0.3962942063808441,
0.39356729388237,
0.39144182205200195,
0.38507014513015747,
0.38438403606414795,
0... | [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54... | 0 | 99,999 |
Support "minorEdit" option
The confluence API supports the "minorEdit" option to not notify watchers when a page has been updated.
I would like to reduce the number of e-mails generated by automatically updating several pages at once, so I've implemented this for the `update_page` handler in #50 .
parent_title and r... | md2cf/ignored_files.py/GitRepository/collect_gitignores | md2cf/ignored_files.py/GitRepository/collect_gitignores
class GitRepository: def collect_gitignores(self, filepath: Path) -> List[Path]:
"""
Collect all .gitignore files from start location to the root of the
repository. Filepath is assumed to be a subdirectory of the git root.
If not... | [
"doc_5",
"doc_16",
"doc_4",
"doc_17",
"doc_18",
"doc_13",
"doc_12",
"doc_11",
"doc_15",
"doc_14",
"doc_0",
"doc_10",
"doc_9",
"doc_7",
"doc_6",
"doc_1",
"doc_2",
"doc_8",
"doc_3"
] | [
"md2cf/confluence_renderer.py/ConfluenceRenderer/header\nclass ConfluenceRenderer: def header(self, text, level, raw=None):\n if self.title is None and level == 1:\n self.title = text\n # Don't duplicate page title as a header\n if self.strip_header:\n retur... | iamjackg/md2cf | ea73cfc1bfef985ce8cb4021e1082cf1de413f22 | iamjackg__md2cf-63 | [
0.3798501491546631,
0.35901200771331787,
0.3570762276649475,
0.35018253326416016,
0.347637414932251,
0.3371210992336273,
0.33164018392562866,
0.32724618911743164,
0.31377553939819336,
0.31016576290130615,
0.2898632287979126,
0.28676584362983704,
0.2664185166358948,
0.2526320517063141,
0.... | [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19
] | 0.400583 | 0 |
Use new FCM APIs
As of now FCM notifications are sent to `https://fcm.googleapis.com/fcm/send` which is a [legacy API](https://firebase.google.com/docs/cloud-messaging/http-server-ref).
Messages should be sent to [current API endpoint](https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages/send):
... | push_notifications/conf/legacy.py/LegacyConfig/get_gcm_api_key | push_notifications/conf/legacy.py/LegacyConfig/get_gcm_api_key
class LegacyConfig: def get_gcm_api_key(self, application_id=None):
msg = (
'Set PUSH_NOTIFICATIONS_SETTINGS["GCM_API_KEY"] to send messages through GCM.'
)
return self._get_application_settings(application_id, "GCM_API_KEY", msg) | [
"doc_63",
"doc_20",
"doc_99",
"doc_81",
"doc_93",
"doc_56",
"doc_97",
"doc_91",
"doc_86",
"doc_83",
"doc_96",
"doc_85",
"doc_98",
"doc_58",
"doc_90",
"doc_39",
"doc_87",
"doc_29",
"doc_57",
"doc_2",
"doc_82",
"doc_72",
"doc_88",
"doc_59",
"doc_84",
"doc_94",
"doc_... | [
"push_notifications/conf/app.py/AppConfig/_validate_wp_config\nclass AppConfig:\tdef _validate_wp_config(self, application_id, application_config):\n\t\tallowed = (\n\t\t\tREQUIRED_SETTINGS + OPTIONAL_SETTINGS + WP_REQUIRED_SETTINGS + WP_OPTIONAL_SETTINGS\n\t\t)\n\n\t\tself._validate_allowed_settings(application_id... | jazzband/django-push-notifications | 7d2805266dfe3384823ae97f2d674d31d0a97a2d | jazzband__django-push-notifications-702 | [
0.3718886971473694,
0.36853456497192383,
0.355158269405365,
0.3473692536354065,
0.3448501229286194,
0.3445836901664734,
0.34245383739471436,
0.3349226117134094,
0.33282914757728577,
0.3312857747077942,
0.3311673104763031,
0.3202766180038452,
0.31907349824905396,
0.3186187744140625,
0.318... | [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
5... | 0.499735 | 0 |
"Refactor API reference gensim.sklearn_api\n**Check this PR for the soon-to-be-deprecated modules:**(...TRUNCATED) | gensim/sklearn_api/hdp.py/HdpTransformer/partial_fit | "gensim/sklearn_api/hdp.py/HdpTransformer/partial_fit\nclass HdpTransformer: def partial_fit(self(...TRUNCATED) | ["doc_407","doc_409","doc_408","doc_833","doc_1001","doc_790","doc_1254","doc_452","doc_836","doc_46(...TRUNCATED) | ["gensim/sklearn_api/text2bow.py/Text2BowTransformer/partial_fit\nclass Text2BowTransformer: def (...TRUNCATED) | piskvorky/gensim | 985d552a1ca37b96629cbc1037100fa0a21f5ba5 | piskvorky__gensim-1895 | [0.48610901832580566,0.4674685597419739,0.46251946687698364,0.4382690191268921,0.4381542205810547,0.(...TRUNCATED) | [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,(...TRUNCATED) | 0.502216 | 0 |
"requirejs=True as default for embed.embed_snippet\nFor most of the notebook users, I think the comm(...TRUNCATED) | ipywidgets/embed.py/embed_snippet | "ipywidgets/embed.py/embed_snippet\ndef embed_snippet(views,\n drop_defaults=True,\(...TRUNCATED) | ["doc_15","doc_64","doc_2","doc_14","doc_13","doc_11","doc_9","doc_12","doc_10","doc_63","doc_8","do(...TRUNCATED) | ["ipywidgets/embed.py/embed_minimal_html\ndef embed_minimal_html(fp, views, title=u'IPyWidget export(...TRUNCATED) | jupyter-widgets/ipywidgets | d17b8c47cb6a774f783cdc43604c913386dcfbd8 | jupyter-widgets__ipywidgets-1656 | [0.5881842374801636,0.30053403973579407,0.2942189574241638,0.29405561089515686,0.2938889265060425,0.(...TRUNCATED) | [0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,(...TRUNCATED) | 0.552861 | 1 |
Update swagger to latest version
| "influxdb_client/service/notification_rules_service.py/NotificationRulesService/patch_notification_r(...TRUNCATED) | "influxdb_client/service/notification_rules_service.py/NotificationRulesService/patch_notification_r(...TRUNCATED) | ["doc_2246","doc_1693","doc_1531","doc_1696","doc_1534","doc_1790","doc_1444","doc_33","doc_2291","d(...TRUNCATED) | ["influxdb_client/client/authorizations_api.py/AuthorizationsApi/update_authorization\nclass Authori(...TRUNCATED) | influxdata/influxdb-client-python | f6a7685d4dccacbc77e746a67f69a1a7d0da3956 | influxdata__influxdb-client-python-21 | [0.28576797246932983,0.2811550498008728,0.28036290407180786,0.2754645049571991,0.27250513434410095,0(...TRUNCATED) | [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,32,33,34,35,36,3(...TRUNCATED) | 0.221369 | 31 |
"Exclude cell's output from the diff\nIt would be very nice if there were an option to filter out th(...TRUNCATED) | nbdime/nbdiffapp.py/main_diff | "nbdime/nbdiffapp.py/main_diff\ndef main_diff(args):\n afn = args.base\n bfn = args.remote\n (...TRUNCATED) | ["doc_267","doc_271","doc_117","doc_266","doc_264","doc_35","doc_265","doc_273","doc_261","doc_64","(...TRUNCATED) | ["nbdime/diffing/notebooks.py/diff_single_outputs\ndef diff_single_outputs(a, b, path=\"/cells/*/out(...TRUNCATED) | jupyter/nbdime | eedd97101b920ff61361b68d26b3e840f6cf41c7 | jupyter__nbdime-276 | [0.5052536725997925,0.44925445318222046,0.4399696886539459,0.4181610941886902,0.41583681106567383,0.(...TRUNCATED) | [0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,(...TRUNCATED) | 0.482873 | 1 |
"pip install rdflib doesn't install all dependencies\nWhen I install rdflib with pip:\r\n\r\n```\r\n(...TRUNCATED) | rdflib/tools/csv2rdf.py/CSV2RDF/convert | "rdflib/tools/csv2rdf.py/CSV2RDF/convert\nclass CSV2RDF: def convert(self, csvreader):\n\n (...TRUNCATED) | ["doc_191","doc_579","doc_600","doc_105","doc_595","doc_599","doc_231","doc_557","doc_236","doc_106"(...TRUNCATED) | ["rdflib/graph.py/Graph/__getitem__\nclass Graph: def __getitem__(self, item):\n \"\"\"\n (...TRUNCATED) | RDFLib/rdflib | 604d63e1b1750b26f7fd21b1d4ffb42d481d44c4 | RDFLib__rdflib-997 | [0.42277777194976807,0.4177438020706177,0.4172099828720093,0.41266554594039917,0.40712928771972656,0(...TRUNCATED) | [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,3(...TRUNCATED) | 0 | 99,999 |
"Allow type checkers to infer trait types\nWe are currently encoding typing information for traits w(...TRUNCATED) | traitlets/traitlets.py/TraitType/__set__ | "traitlets/traitlets.py/TraitType/__set__\nclass TraitType: def __set__(self, obj, value):\n (...TRUNCATED) | ["doc_207","doc_81","doc_191","doc_65","doc_138","doc_202","doc_69","doc_110","doc_107","doc_68","do(...TRUNCATED) | ["traitlets/traitlets.py/Dict/__init__\nclass Dict: def __init__(\n self,\n value_t(...TRUNCATED) | ipython/traitlets | b1cdea49e0ac1c647c8d974a595d26ea51cf0ae7 | ipython__traitlets-818 | [0.5279620885848999,0.52518230676651,0.518873929977417,0.5121618509292603,0.4968714714050293,0.48693(...TRUNCATED) | [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,(...TRUNCATED) | 0.567523 | 0 |
"MD031 fix: reducing cases and organizing\n## Prerequisites\r\n\r\n* [X] Are you running the latest (...TRUNCATED) | pymarkdown/plugins/rule_md_031.py/RuleMd031/__fix_spacing_list_special | "pymarkdown/plugins/rule_md_031.py/RuleMd031/__fix_spacing_list_special\nclass RuleMd031: def __f(...TRUNCATED) | ["doc_747","doc_754","doc_752","doc_755","doc_757","doc_750","doc_753","doc_765","doc_758","doc_760"(...TRUNCATED) | ["pymarkdown/plugins/rule_md_031.py/RuleMd031/__init__\nclass RuleMd031: def __init__(self) -> No(...TRUNCATED) | jackdewinter/pymarkdown | b6ec94b88023c25833c5cd540bb50abed2705f2d | jackdewinter__pymarkdown-1298 | [0.5890704393386841,0.5413081645965576,0.5246511101722717,0.48873475193977356,0.4786689877510071,0.4(...TRUNCATED) | [0,1,2,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,(...TRUNCATED) | 0.51774 | 3 |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 2