Title: Throwing an error · Issue #1 · PacktPublishing/Building-Python-Web-APIs-with-FastAPI · GitHub
Open Graph Title: Throwing an error · Issue #1 · PacktPublishing/Building-Python-Web-APIs-with-FastAPI
X Title: Throwing an error · Issue #1 · PacktPublishing/Building-Python-Web-APIs-with-FastAPI
Description: Building-Python-Web-APIs-with-FastAPI/ch08/planner/tests/test_login.py Line 6 in ad22a27 async def test_sign_new_user(default_client: httpx.AsyncClient) -> None: It's throwing and error AttributeError: 'async_generator' object has no att...
Open Graph Description: Building-Python-Web-APIs-with-FastAPI/ch08/planner/tests/test_login.py Line 6 in ad22a27 async def test_sign_new_user(default_client: httpx.AsyncClient) -> None: It's throwing and error AttributeEr...
X Description: Building-Python-Web-APIs-with-FastAPI/ch08/planner/tests/test_login.py Line 6 in ad22a27 async def test_sign_new_user(default_client: httpx.AsyncClient) -> None: It's throwing and error Attr...
Opengraph URL: https://github.com/PacktPublishing/Building-Python-Web-APIs-with-FastAPI/issues/1
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Throwing an error ","articleBody":"https://github.com/PacktPublishing/Building-Python-Web-APIs-with-FastAPI/blob/ad22a273b95f16dc2007f117e64cdea2aa7d80db/ch08/planner/tests/test_login.py#L6\r\nIt's throwing and error `AttributeError: 'async_generator' object has no attribute 'post'`. I solved it declaring the function this way `async def test_sign_new_user(default_client = httpx.AsyncClient()) -\u003e None:`","author":{"url":"https://github.com/Grifo89","@type":"Person","name":"Grifo89"},"datePublished":"2022-09-09T15:17:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1/Building-Python-Web-APIs-with-FastAPI/issues/1"}
| 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:229458b5-4413-85f6-8302-23aa231230e0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B438:265E6B:73DB5C:9C2E95:6A6126A1 |
| html-safe-nonce | a71b9dd6443f7ab315caa6345658d3b125adcb978a50bbb9a1176bf6d8b1babe |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDM4OjI2NUU2Qjo3M0RCNUM6OUMyRTk1OjZBNjEyNkExIiwidmlzaXRvcl9pZCI6Ijc5Mjk3NDMyNTY0NzczMTI2NzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5abfef34eca5db8bbe73660c66306a04471a397551f0f28e8e94b83784e80f83 |
| hovercard-subject-tag | issue:1367979377 |
| 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/PacktPublishing/Building-Python-Web-APIs-with-FastAPI/1/issue_layout |
| twitter:image | https://opengraph.githubassets.com/260ee02081b1a3b23d1adb92115cd06a520dbfa95f5e88c7404a511914bd4bbf/PacktPublishing/Building-Python-Web-APIs-with-FastAPI/issues/1 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/260ee02081b1a3b23d1adb92115cd06a520dbfa95f5e88c7404a511914bd4bbf/PacktPublishing/Building-Python-Web-APIs-with-FastAPI/issues/1 |
| og:image:alt | Building-Python-Web-APIs-with-FastAPI/ch08/planner/tests/test_login.py Line 6 in ad22a27 async def test_sign_new_user(default_client: httpx.AsyncClient) -> None: It's throwing and error AttributeEr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Grifo89 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6896275b704df9b9258326d49c8695aecd98d736cd9eeda7bcbb1790ac97d3ad |
| turbo-cache-control | no-preview |
| go-import | github.com/PacktPublishing/Building-Python-Web-APIs-with-FastAPI git https://github.com/PacktPublishing/Building-Python-Web-APIs-with-FastAPI.git |
| octolytics-dimension-user_id | 10974906 |
| octolytics-dimension-user_login | PacktPublishing |
| octolytics-dimension-repository_id | 343784532 |
| octolytics-dimension-repository_nwo | PacktPublishing/Building-Python-Web-APIs-with-FastAPI |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 343784532 |
| octolytics-dimension-repository_network_root_nwo | PacktPublishing/Building-Python-Web-APIs-with-FastAPI |
| 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 | af89f6cd55841b57fa09b6b0ed9e3f8f2e94b05d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width