{"action":"created","issue":{"url":"https://api.github.com/repos/cqlengine/cqlengine/issues/338","labels_url":"https://api.github.com/repos/cqlengine/cqlengine/issues/338/labels{/name}","comments_url":"https://api.github.com/repos/cqlengine/cqlengine/issues/338/comments","events_url":"https://api.github.com/repos/cqlengine/cqlengine/issues/338/events","html_url":"https://github.com/cqlengine/cqlengine/pull/338","id":57247425,"number":338,"title":"Can now create containers with non-double floats","user":{"login":"fabianvf","id":2431974,"avatar_url":"https://avatars.githubusercontent.com/u/2431974?v=3","gravatar_id":"","url":"https://api.github.com/users/fabianvf","html_url":"https://github.com/fabianvf","followers_url":"https://api.github.com/users/fabianvf/followers","following_url":"https://api.github.com/users/fabianvf/following{/other_user}","gists_url":"https://api.github.com/users/fabianvf/gists{/gist_id}","starred_url":"https://api.github.com/users/fabianvf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabianvf/subscriptions","organizations_url":"https://api.github.com/users/fabianvf/orgs","repos_url":"https://api.github.com/users/fabianvf/repos","events_url":"https://api.github.com/users/fabianvf/events{/privacy}","received_events_url":"https://api.github.com/users/fabianvf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-10T22:25:46Z","updated_at":"2015-02-10T23:07:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cqlengine/cqlengine/pulls/338","html_url":"https://github.com/cqlengine/cqlengine/pull/338","diff_url":"https://github.com/cqlengine/cqlengine/pull/338.diff","patch_url":"https://github.com/cqlengine/cqlengine/pull/338.patch"},"body":"This should close #324 \r\n\r\nNow, when creating a list of non-double precision floats, the type of the elements in the list are floats instead of doubles. \r\n\r\nAll tests passed, but I'm still not sure this change doesn't have any side-effects. I have attempted to unit test the change, but I am unsure how to access the db_type variable of an element in the columns.List object from a Model object. If anyone knows how to find that information, that would speed up the creation of the tests significantly. Example of where I am currently stuck below (I have only found python types in the model object so far).\r\n\r\n```python\r\n def test_float_list_is_float(self):\r\n        m = TestListModel.create(float_list=[1.0, 2.0, 3.0, 4.0])\r\n        # Now I need to make sure that float_list is represented as List<float>, rather than List<double>\r\n```"},"comment":{"url":"https://api.github.com/repos/cqlengine/cqlengine/issues/comments/73804063","html_url":"https://github.com/cqlengine/cqlengine/pull/338#issuecomment-73804063","issue_url":"https://api.github.com/repos/cqlengine/cqlengine/issues/338","id":73804063,"user":{"login":"rustyrazorblade","id":337872,"avatar_url":"https://avatars.githubusercontent.com/u/337872?v=3","gravatar_id":"","url":"https://api.github.com/users/rustyrazorblade","html_url":"https://github.com/rustyrazorblade","followers_url":"https://api.github.com/users/rustyrazorblade/followers","following_url":"https://api.github.com/users/rustyrazorblade/following{/other_user}","gists_url":"https://api.github.com/users/rustyrazorblade/gists{/gist_id}","starred_url":"https://api.github.com/users/rustyrazorblade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rustyrazorblade/subscriptions","organizations_url":"https://api.github.com/users/rustyrazorblade/orgs","repos_url":"https://api.github.com/users/rustyrazorblade/repos","events_url":"https://api.github.com/users/rustyrazorblade/events{/privacy}","received_events_url":"https://api.github.com/users/rustyrazorblade/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T23:07:58Z","updated_at":"2015-02-10T23:07:58Z","body":"I'm going to loop in @aholmberg on this.  He's doing some related work."}}