{"action":"created","issue":{"url":"https://api.github.com/repos/robotframework/robotframework/issues/2121","labels_url":"https://api.github.com/repos/robotframework/robotframework/issues/2121/labels{/name}","comments_url":"https://api.github.com/repos/robotframework/robotframework/issues/2121/comments","events_url":"https://api.github.com/repos/robotframework/robotframework/issues/2121/events","html_url":"https://github.com/robotframework/robotframework/issues/2121","id":103785119,"number":2121,"title":"More examples for YAML dictionaries syntax in RF documentation","user":{"login":"Tset-Noitamotua","id":5635462,"avatar_url":"https://avatars.githubusercontent.com/u/5635462?v=3","gravatar_id":"","url":"https://api.github.com/users/Tset-Noitamotua","html_url":"https://github.com/Tset-Noitamotua","followers_url":"https://api.github.com/users/Tset-Noitamotua/followers","following_url":"https://api.github.com/users/Tset-Noitamotua/following{/other_user}","gists_url":"https://api.github.com/users/Tset-Noitamotua/gists{/gist_id}","starred_url":"https://api.github.com/users/Tset-Noitamotua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tset-Noitamotua/subscriptions","organizations_url":"https://api.github.com/users/Tset-Noitamotua/orgs","repos_url":"https://api.github.com/users/Tset-Noitamotua/repos","events_url":"https://api.github.com/users/Tset-Noitamotua/events{/privacy}","received_events_url":"https://api.github.com/users/Tset-Noitamotua/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-28T19:54:48Z","updated_at":"2015-09-04T08:19:28Z","closed_at":null,"body":"Is it possible to get more examples for dictionaries in yaml style?\r\n\r\ne.g. I'm running into SyntaxError when I use this in a .yaml file:\r\n\r\n```yaml\r\nSO_BUTTON:\r\n   Empty Basket: xpath=//div[@class=\"basket__teaser basket__teaser--empty\"]\r\n```\r\nand call it with this keyword from RF:\r\n```robot\r\nElement Should Be Visible   | ${SO_BUTTON.Empty Basket}\r\n```\r\n\r\nError Log: \r\n\r\n```\r\nResolving variable '${SO_BUTTON.Empty Basket}' failed: SyntaxError: unexpected EOF while parsing (<string>, line 1)\r\n```\r\n\r\nI have to use underscore in each file (.yaml and .robot) to make it work: `Empty_Basket`"},"comment":{"url":"https://api.github.com/repos/robotframework/robotframework/issues/comments/137676128","html_url":"https://github.com/robotframework/robotframework/issues/2121#issuecomment-137676128","issue_url":"https://api.github.com/repos/robotframework/robotframework/issues/2121","id":137676128,"user":{"login":"Tset-Noitamotua","id":5635462,"avatar_url":"https://avatars.githubusercontent.com/u/5635462?v=3","gravatar_id":"","url":"https://api.github.com/users/Tset-Noitamotua","html_url":"https://github.com/Tset-Noitamotua","followers_url":"https://api.github.com/users/Tset-Noitamotua/followers","following_url":"https://api.github.com/users/Tset-Noitamotua/following{/other_user}","gists_url":"https://api.github.com/users/Tset-Noitamotua/gists{/gist_id}","starred_url":"https://api.github.com/users/Tset-Noitamotua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tset-Noitamotua/subscriptions","organizations_url":"https://api.github.com/users/Tset-Noitamotua/orgs","repos_url":"https://api.github.com/users/Tset-Noitamotua/repos","events_url":"https://api.github.com/users/Tset-Noitamotua/events{/privacy}","received_events_url":"https://api.github.com/users/Tset-Noitamotua/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T08:19:28Z","updated_at":"2015-09-04T08:19:28Z","body":"I used YAML for the firts time and I did speed read the spec only. I didn´t see any examples in the spec for key containing spaces. I would be interessting to know if spaces are allowed, then one could add some more examples to the docs."}}