{"action":"closed","number":92,"pull_request":{"url":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/92","id":29535763,"html_url":"https://github.com/NSLS-II/metadatastore/pull/92","diff_url":"https://github.com/NSLS-II/metadatastore/pull/92.diff","patch_url":"https://github.com/NSLS-II/metadatastore/pull/92.patch","issue_url":"https://api.github.com/repos/NSLS-II/metadatastore/issues/92","number":92,"state":"closed","locked":false,"title":"FIX: Keep db_connect wrapper from blowing away docstrings.","user":{"login":"danielballan","id":2279598,"avatar_url":"https://avatars.githubusercontent.com/u/2279598?v=3","gravatar_id":"","url":"https://api.github.com/users/danielballan","html_url":"https://github.com/danielballan","followers_url":"https://api.github.com/users/danielballan/followers","following_url":"https://api.github.com/users/danielballan/following{/other_user}","gists_url":"https://api.github.com/users/danielballan/gists{/gist_id}","starred_url":"https://api.github.com/users/danielballan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielballan/subscriptions","organizations_url":"https://api.github.com/users/danielballan/orgs","repos_url":"https://api.github.com/users/danielballan/repos","events_url":"https://api.github.com/users/danielballan/events{/privacy}","received_events_url":"https://api.github.com/users/danielballan/received_events","type":"User","site_admin":false},"body":"Before:\r\n\r\n```\r\nIn [2]: insert_run_start?\r\nType:        function\r\nString form: <function inner at 0x1041bb8c0>\r\nFile:        /Users/dallan/Documents/Repos/metadatastore/metadatastore/commands.py\r\nDefinition:  insert_run_start(*args, **kwargs)\r\nDocstring:   <no docstring>\r\n```\r\n\r\nAfter:\r\n\r\n```\r\nIn [2]: insert_run_start?\r\n\r\nType:        function\r\nString form: <function insert_run_start at 0x1041bb8c0>\r\nFile:        /Users/dallan/Documents/Repos/metadatastore/metadatastore/commands.py\r\nDefinition:  insert_run_start(*args, **kwargs)\r\nDocstring:\r\nProvide a head for a sequence of events. Entry point for an\r\nexperiment's run.\r\n\r\nParameters\r\n----------\r\ntime : float\r\n    The date/time as found at the client side when an event is\r\n    created.\r\nbeamline_id: str\r\n    Beamline String identifier. Not unique, just an indicator of\r\n    beamline code for multiple beamline systems\r\nbeamline_config: metadatastore.odm_temples.BeamlineConfig, optional\r\n    Foreign key to beamline config corresponding to a given run\r\nowner: str, optional\r\n    Specifies the unix user credentials of the user creating the entry\r\nscan_id : int, optional\r\n    Unique scan identifier visible to the user and data analysis\r\ncustom: dict, optional\r\n    Additional parameters that data acquisition code/user wants to\r\n    append to a given header. Name/value pairs\r\n\r\nReturns\r\n-------\r\nrun_start: mongoengine.Document\r\n    Inserted mongoengine object\r\n(END) \r\n```","created_at":"2015-02-18T15:47:56Z","updated_at":"2015-02-18T15:58:45Z","closed_at":"2015-02-18T15:58:45Z","merged_at":"2015-02-18T15:58:45Z","merge_commit_sha":"c1cc4047e01f94d665d447e0d7ab50f4cb589d25","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/92/commits","review_comments_url":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/92/comments","review_comment_url":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/comments/{number}","comments_url":"https://api.github.com/repos/NSLS-II/metadatastore/issues/92/comments","statuses_url":"https://api.github.com/repos/NSLS-II/metadatastore/statuses/b38df551f5767e46154ee1d8a54db50eafdef636","head":{"label":"danielballan:wrap-better","ref":"wrap-better","sha":"b38df551f5767e46154ee1d8a54db50eafdef636","user":{"login":"danielballan","id":2279598,"avatar_url":"https://avatars.githubusercontent.com/u/2279598?v=3","gravatar_id":"","url":"https://api.github.com/users/danielballan","html_url":"https://github.com/danielballan","followers_url":"https://api.github.com/users/danielballan/followers","following_url":"https://api.github.com/users/danielballan/following{/other_user}","gists_url":"https://api.github.com/users/danielballan/gists{/gist_id}","starred_url":"https://api.github.com/users/danielballan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielballan/subscriptions","organizations_url":"https://api.github.com/users/danielballan/orgs","repos_url":"https://api.github.com/users/danielballan/repos","events_url":"https://api.github.com/users/danielballan/events{/privacy}","received_events_url":"https://api.github.com/users/danielballan/received_events","type":"User","site_admin":false},"repo":{"id":28867664,"name":"metadataStore","full_name":"danielballan/metadataStore","owner":{"login":"danielballan","id":2279598,"avatar_url":"https://avatars.githubusercontent.com/u/2279598?v=3","gravatar_id":"","url":"https://api.github.com/users/danielballan","html_url":"https://github.com/danielballan","followers_url":"https://api.github.com/users/danielballan/followers","following_url":"https://api.github.com/users/danielballan/following{/other_user}","gists_url":"https://api.github.com/users/danielballan/gists{/gist_id}","starred_url":"https://api.github.com/users/danielballan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielballan/subscriptions","organizations_url":"https://api.github.com/users/danielballan/orgs","repos_url":"https://api.github.com/users/danielballan/repos","events_url":"https://api.github.com/users/danielballan/events{/privacy}","received_events_url":"https://api.github.com/users/danielballan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danielballan/metadataStore","description":"NSLS2 Beamlines MetadataStore prototype implemented in MongoDB","fork":true,"url":"https://api.github.com/repos/danielballan/metadataStore","forks_url":"https://api.github.com/repos/danielballan/metadataStore/forks","keys_url":"https://api.github.com/repos/danielballan/metadataStore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danielballan/metadataStore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danielballan/metadataStore/teams","hooks_url":"https://api.github.com/repos/danielballan/metadataStore/hooks","issue_events_url":"https://api.github.com/repos/danielballan/metadataStore/issues/events{/number}","events_url":"https://api.github.com/repos/danielballan/metadataStore/events","assignees_url":"https://api.github.com/repos/danielballan/metadataStore/assignees{/user}","branches_url":"https://api.github.com/repos/danielballan/metadataStore/branches{/branch}","tags_url":"https://api.github.com/repos/danielballan/metadataStore/tags","blobs_url":"https://api.github.com/repos/danielballan/metadataStore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danielballan/metadataStore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danielballan/metadataStore/git/refs{/sha}","trees_url":"https://api.github.com/repos/danielballan/metadataStore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danielballan/metadataStore/statuses/{sha}","languages_url":"https://api.github.com/repos/danielballan/metadataStore/languages","stargazers_url":"https://api.github.com/repos/danielballan/metadataStore/stargazers","contributors_url":"https://api.github.com/repos/danielballan/metadataStore/contributors","subscribers_url":"https://api.github.com/repos/danielballan/metadataStore/subscribers","subscription_url":"https://api.github.com/repos/danielballan/metadataStore/subscription","commits_url":"https://api.github.com/repos/danielballan/metadataStore/commits{/sha}","git_commits_url":"https://api.github.com/repos/danielballan/metadataStore/git/commits{/sha}","comments_url":"https://api.github.com/repos/danielballan/metadataStore/comments{/number}","issue_comment_url":"https://api.github.com/repos/danielballan/metadataStore/issues/comments/{number}","contents_url":"https://api.github.com/repos/danielballan/metadataStore/contents/{+path}","compare_url":"https://api.github.com/repos/danielballan/metadataStore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danielballan/metadataStore/merges","archive_url":"https://api.github.com/repos/danielballan/metadataStore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danielballan/metadataStore/downloads","issues_url":"https://api.github.com/repos/danielballan/metadataStore/issues{/number}","pulls_url":"https://api.github.com/repos/danielballan/metadataStore/pulls{/number}","milestones_url":"https://api.github.com/repos/danielballan/metadataStore/milestones{/number}","notifications_url":"https://api.github.com/repos/danielballan/metadataStore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danielballan/metadataStore/labels{/name}","releases_url":"https://api.github.com/repos/danielballan/metadataStore/releases{/id}","created_at":"2015-01-06T14:46:42Z","updated_at":"2015-02-17T20:26:39Z","pushed_at":"2015-02-18T15:46:15Z","git_url":"git://github.com/danielballan/metadataStore.git","ssh_url":"git@github.com:danielballan/metadataStore.git","clone_url":"https://github.com/danielballan/metadataStore.git","svn_url":"https://github.com/danielballan/metadataStore","homepage":"","size":1301,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"NSLS-II:master","ref":"master","sha":"d7b3b8aa6226b6b266c5cf8d92e3f71f81b628b0","user":{"login":"NSLS-II","id":8700262,"avatar_url":"https://avatars.githubusercontent.com/u/8700262?v=3","gravatar_id":"","url":"https://api.github.com/users/NSLS-II","html_url":"https://github.com/NSLS-II","followers_url":"https://api.github.com/users/NSLS-II/followers","following_url":"https://api.github.com/users/NSLS-II/following{/other_user}","gists_url":"https://api.github.com/users/NSLS-II/gists{/gist_id}","starred_url":"https://api.github.com/users/NSLS-II/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NSLS-II/subscriptions","organizations_url":"https://api.github.com/users/NSLS-II/orgs","repos_url":"https://api.github.com/users/NSLS-II/repos","events_url":"https://api.github.com/users/NSLS-II/events{/privacy}","received_events_url":"https://api.github.com/users/NSLS-II/received_events","type":"Organization","site_admin":false},"repo":{"id":20021829,"name":"metadatastore","full_name":"NSLS-II/metadatastore","owner":{"login":"NSLS-II","id":8700262,"avatar_url":"https://avatars.githubusercontent.com/u/8700262?v=3","gravatar_id":"","url":"https://api.github.com/users/NSLS-II","html_url":"https://github.com/NSLS-II","followers_url":"https://api.github.com/users/NSLS-II/followers","following_url":"https://api.github.com/users/NSLS-II/following{/other_user}","gists_url":"https://api.github.com/users/NSLS-II/gists{/gist_id}","starred_url":"https://api.github.com/users/NSLS-II/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NSLS-II/subscriptions","organizations_url":"https://api.github.com/users/NSLS-II/orgs","repos_url":"https://api.github.com/users/NSLS-II/repos","events_url":"https://api.github.com/users/NSLS-II/events{/privacy}","received_events_url":"https://api.github.com/users/NSLS-II/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NSLS-II/metadatastore","description":"NSLS2 Beamlines MetadataStore prototype implemented in MongoDB","fork":false,"url":"https://api.github.com/repos/NSLS-II/metadatastore","forks_url":"https://api.github.com/repos/NSLS-II/metadatastore/forks","keys_url":"https://api.github.com/repos/NSLS-II/metadatastore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NSLS-II/metadatastore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NSLS-II/metadatastore/teams","hooks_url":"https://api.github.com/repos/NSLS-II/metadatastore/hooks","issue_events_url":"https://api.github.com/repos/NSLS-II/metadatastore/issues/events{/number}","events_url":"https://api.github.com/repos/NSLS-II/metadatastore/events","assignees_url":"https://api.github.com/repos/NSLS-II/metadatastore/assignees{/user}","branches_url":"https://api.github.com/repos/NSLS-II/metadatastore/branches{/branch}","tags_url":"https://api.github.com/repos/NSLS-II/metadatastore/tags","blobs_url":"https://api.github.com/repos/NSLS-II/metadatastore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NSLS-II/metadatastore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NSLS-II/metadatastore/git/refs{/sha}","trees_url":"https://api.github.com/repos/NSLS-II/metadatastore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NSLS-II/metadatastore/statuses/{sha}","languages_url":"https://api.github.com/repos/NSLS-II/metadatastore/languages","stargazers_url":"https://api.github.com/repos/NSLS-II/metadatastore/stargazers","contributors_url":"https://api.github.com/repos/NSLS-II/metadatastore/contributors","subscribers_url":"https://api.github.com/repos/NSLS-II/metadatastore/subscribers","subscription_url":"https://api.github.com/repos/NSLS-II/metadatastore/subscription","commits_url":"https://api.github.com/repos/NSLS-II/metadatastore/commits{/sha}","git_commits_url":"https://api.github.com/repos/NSLS-II/metadatastore/git/commits{/sha}","comments_url":"https://api.github.com/repos/NSLS-II/metadatastore/comments{/number}","issue_comment_url":"https://api.github.com/repos/NSLS-II/metadatastore/issues/comments/{number}","contents_url":"https://api.github.com/repos/NSLS-II/metadatastore/contents/{+path}","compare_url":"https://api.github.com/repos/NSLS-II/metadatastore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NSLS-II/metadatastore/merges","archive_url":"https://api.github.com/repos/NSLS-II/metadatastore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NSLS-II/metadatastore/downloads","issues_url":"https://api.github.com/repos/NSLS-II/metadatastore/issues{/number}","pulls_url":"https://api.github.com/repos/NSLS-II/metadatastore/pulls{/number}","milestones_url":"https://api.github.com/repos/NSLS-II/metadatastore/milestones{/number}","notifications_url":"https://api.github.com/repos/NSLS-II/metadatastore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NSLS-II/metadatastore/labels{/name}","releases_url":"https://api.github.com/repos/NSLS-II/metadatastore/releases{/id}","created_at":"2014-05-21T13:17:44Z","updated_at":"2015-02-18T15:58:45Z","pushed_at":"2015-02-18T15:58:45Z","git_url":"git://github.com/NSLS-II/metadatastore.git","ssh_url":"git@github.com:NSLS-II/metadatastore.git","clone_url":"https://github.com/NSLS-II/metadatastore.git","svn_url":"https://github.com/NSLS-II/metadatastore","homepage":"","size":2499,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":6,"forks":6,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/92"},"html":{"href":"https://github.com/NSLS-II/metadatastore/pull/92"},"issue":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/issues/92"},"comments":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/issues/92/comments"},"review_comments":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/92/comments"},"review_comment":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/92/commits"},"statuses":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/statuses/b38df551f5767e46154ee1d8a54db50eafdef636"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"arkilic","id":5132155,"avatar_url":"https://avatars.githubusercontent.com/u/5132155?v=3","gravatar_id":"","url":"https://api.github.com/users/arkilic","html_url":"https://github.com/arkilic","followers_url":"https://api.github.com/users/arkilic/followers","following_url":"https://api.github.com/users/arkilic/following{/other_user}","gists_url":"https://api.github.com/users/arkilic/gists{/gist_id}","starred_url":"https://api.github.com/users/arkilic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arkilic/subscriptions","organizations_url":"https://api.github.com/users/arkilic/orgs","repos_url":"https://api.github.com/users/arkilic/repos","events_url":"https://api.github.com/users/arkilic/events{/privacy}","received_events_url":"https://api.github.com/users/arkilic/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":2,"deletions":0,"changed_files":1}}