{"push_id":2344563215,"size":1,"distinct_size":1,"ref":"refs/heads/python","head":"bafe6a0d4bede20492796dceaaa3d4db9b58a65f","before":"01178e3e98bc7dbbdc312bfecc5994921ae2f781","commits":[{"sha":"bafe6a0d4bede20492796dceaaa3d4db9b58a65f","author":{"name":"Jon Crussell","email":"ec7529c48672bbd2e4dd2c4627419a8065b15209@sandia.gov"},"message":"pyapigen: add with mm.namespace, minimega.discard\n\nBlacklist direct access to namespaces in favor of using a connect\nparameter or the `mm.namespace` wrapper:\n\n```\nmm = minimega.connect()\nwith mm.namespace(\"foo\") as mm:\n    mm.vm_launch_kvm(1)\n\nwith mm.namespace(\"foo\") as mm:\n    with mm.namespace(\"bar\") as mm2:\n        for resp in mm.vm_info():\n            for row in resp.get(\"Tabular\", []) or []:\n                mm2.vm_launch_kvm(row[1])\n```\n\nAdd `minimega.discard` to dump all streamed responses.","distinct":true,"url":"https://api.github.com/repos/jcrussell/minimega/commits/bafe6a0d4bede20492796dceaaa3d4db9b58a65f"}]}
{"actor":{"display_login":"jcrussell"}}