Title: Type error when using `max_calls` in the autopopulate function · Issue #430 · datajoint/datajoint-python · GitHub
Open Graph Title: Type error when using `max_calls` in the autopopulate function · Issue #430 · datajoint/datajoint-python
X Title: Type error when using `max_calls` in the autopopulate function · Issue #430 · datajoint/datajoint-python
Description: The argument max_calls in the autopopulate function added in 7299058 throws a type error: --> 126 if max_calls is not None and call_count >= max_calls: 127 break TypeError: unorderable types: itertools.count() >= int()
Open Graph Description: The argument max_calls in the autopopulate function added in 7299058 throws a type error: --> 126 if max_calls is not None and call_count >= max_calls: 127 break TypeError: unorderable types: itert...
X Description: The argument max_calls in the autopopulate function added in 7299058 throws a type error: --> 126 if max_calls is not None and call_count >= max_calls: 127 break TypeError: unorderable types:...
Opengraph URL: https://github.com/datajoint/datajoint-python/issues/430
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Type error when using `max_calls` in the autopopulate function","articleBody":"The argument `max_calls` in the autopopulate function added in https://github.com/datajoint/datajoint-python/commit/7299058ee37c44216a5a53acbcb737d68f47fdc4 throws a type error:\r\n\r\n```\r\n--\u003e 126 if max_calls is not None and call_count \u003e= max_calls:\r\n 127 break\r\n\r\nTypeError: unorderable types: itertools.count() \u003e= int()\r\n```","author":{"url":"https://github.com/chbehrens","@type":"Person","name":"chbehrens"},"datePublished":"2018-01-08T16:46:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/430/datajoint-python/issues/430"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:28244ddf-fd0a-7e43-242a-51a970ae3166 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C0E2:320EB:39F07A6:4FD0D69:6A4F419C |
| html-safe-nonce | 95de5d687679a2d1b6e5bb90abe7ad2452c296345375c5950a115f16a4f029da |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMEUyOjMyMEVCOjM5RjA3QTY6NEZEMEQ2OTo2QTRGNDE5QyIsInZpc2l0b3JfaWQiOiIzOTkyMDMyNjE1NzYyNzA2ODQ0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8be95999d5168b8534ae48689589d81f004de58f5c90d0a3e9056ef81792568c |
| hovercard-subject-tag | issue:286808409 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/datajoint/datajoint-python/430/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2eb0f36181a9529a6f49c9e5e9e9d0e9074156f946f8224c88231cc92a1d9e4f/datajoint/datajoint-python/issues/430 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2eb0f36181a9529a6f49c9e5e9e9d0e9074156f946f8224c88231cc92a1d9e4f/datajoint/datajoint-python/issues/430 |
| og:image:alt | The argument max_calls in the autopopulate function added in 7299058 throws a type error: --> 126 if max_calls is not None and call_count >= max_calls: 127 break TypeError: unorderable types: itert... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | chbehrens |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/datajoint/datajoint-python git https://github.com/datajoint/datajoint-python.git |
| octolytics-dimension-user_id | 2375501 |
| octolytics-dimension-user_login | datajoint |
| octolytics-dimension-repository_id | 5866704 |
| octolytics-dimension-repository_nwo | datajoint/datajoint-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 5866704 |
| octolytics-dimension-repository_network_root_nwo | datajoint/datajoint-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width