{"action":"opened","issue":{"url":"https://api.github.com/repos/Juniper/py-junos-eznc/issues/387","labels_url":"https://api.github.com/repos/Juniper/py-junos-eznc/issues/387/labels{/name}","comments_url":"https://api.github.com/repos/Juniper/py-junos-eznc/issues/387/comments","events_url":"https://api.github.com/repos/Juniper/py-junos-eznc/issues/387/events","html_url":"https://github.com/Juniper/py-junos-eznc/issues/387","id":88751637,"number":387,"title":"Configuration Table Options cannot be set in YAML","user":{"login":"shermdog","id":3383063,"avatar_url":"https://avatars.githubusercontent.com/u/3383063?v=3","gravatar_id":"","url":"https://api.github.com/users/shermdog","html_url":"https://github.com/shermdog","followers_url":"https://api.github.com/users/shermdog/followers","following_url":"https://api.github.com/users/shermdog/following{/other_user}","gists_url":"https://api.github.com/users/shermdog/gists{/gist_id}","starred_url":"https://api.github.com/users/shermdog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shermdog/subscriptions","organizations_url":"https://api.github.com/users/shermdog/orgs","repos_url":"https://api.github.com/users/shermdog/repos","events_url":"https://api.github.com/users/shermdog/events{/privacy}","received_events_url":"https://api.github.com/users/shermdog/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Juniper/py-junos-eznc/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Juniper/py-junos-eznc/milestones/14","html_url":"https://github.com/Juniper/py-junos-eznc/milestones/R_1_2_1","labels_url":"https://api.github.com/repos/Juniper/py-junos-eznc/milestones/14/labels","id":1160513,"number":14,"title":"R_1_2_1","description":"Bug Fixes for 1.2.x","creator":{"login":"shermdog","id":3383063,"avatar_url":"https://avatars.githubusercontent.com/u/3383063?v=3","gravatar_id":"","url":"https://api.github.com/users/shermdog","html_url":"https://github.com/shermdog","followers_url":"https://api.github.com/users/shermdog/followers","following_url":"https://api.github.com/users/shermdog/following{/other_user}","gists_url":"https://api.github.com/users/shermdog/gists{/gist_id}","starred_url":"https://api.github.com/users/shermdog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shermdog/subscriptions","organizations_url":"https://api.github.com/users/shermdog/orgs","repos_url":"https://api.github.com/users/shermdog/repos","events_url":"https://api.github.com/users/shermdog/events{/privacy}","received_events_url":"https://api.github.com/users/shermdog/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":1,"state":"open","created_at":"2015-06-11T15:26:44Z","updated_at":"2015-06-16T14:55:27Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-06-16T14:55:27Z","updated_at":"2015-06-16T14:55:27Z","closed_at":null,"body":"The options keyword is not properly being supported.  Currently the only working way it so specify during the get  `table.get(options={})`\r\n\r\nShould be able to set things in the following manner\r\n\r\n```yaml\r\nConfigTable:\r\n    get: groups\r\n    item:\r\n    args_key: name\r\n\toptions: {}\r\n    view: ConfigView\r\n```\r\nor\r\n```yaml\r\nfrom jnpr.junos.jxml import INHERIT\r\nConfigTable:\r\n    get: groups\r\n    item:\r\n    args_key: name\r\n\toptions: INHERIT\r\n    view: ConfigView\r\n```\r\n\r\n\r\n```\r\nglobals().update(FactoryLoader().load(yaml.load(yaml_data)))\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/usr/lib/python2.7/site-packages/yaml/__init__.py\", line 71, in load\r\n    return loader.get_single_data()\r\n  File \"/usr/lib/python2.7/site-packages/yaml/constructor.py\", line 37, in get_single_data\r\n    node = self.get_single_node()\r\n  File \"/usr/lib/python2.7/site-packages/yaml/composer.py\", line 36, in get_single_node\r\n    document = self.compose_document()\r\n  File \"/usr/lib/python2.7/site-packages/yaml/composer.py\", line 55, in compose_document\r\n    node = self.compose_node(None, None)\r\n  File \"/usr/lib/python2.7/site-packages/yaml/composer.py\", line 84, in compose_node\r\n    node = self.compose_mapping_node(anchor)\r\n  File \"/usr/lib/python2.7/site-packages/yaml/composer.py\", line 133, in compose_mapping_node\r\n    item_value = self.compose_node(node, item_key)\r\n  File \"/usr/lib/python2.7/site-packages/yaml/composer.py\", line 84, in compose_node\r\n    node = self.compose_mapping_node(anchor)\r\n  File \"/usr/lib/python2.7/site-packages/yaml/composer.py\", line 127, in compose_mapping_node\r\n    while not self.check_event(MappingEndEvent):\r\n  File \"/usr/lib/python2.7/site-packages/yaml/parser.py\", line 98, in check_event\r\n    self.current_event = self.state()\r\n  File \"/usr/lib/python2.7/site-packages/yaml/parser.py\", line 428, in parse_block_mapping_key\r\n    if self.check_token(KeyToken):\r\n  File \"/usr/lib/python2.7/site-packages/yaml/scanner.py\", line 116, in check_token\r\n    self.fetch_more_tokens()\r\n  File \"/usr/lib/python2.7/site-packages/yaml/scanner.py\", line 257, in fetch_more_tokens\r\n    % ch.encode('utf-8'), self.get_mark())\r\nyaml.scanner.ScannerError: while scanning for the next token\r\nfound character '\\t' that cannot start any token\r\n  in \"<string>\", line 6, column 1:\r\n        options: {}\r\n    ^\r\n```"}}