René's URL Explorer Experiment


Title: client.epoint is modified by Gds class but not by Api · Issue #53 · upwork/python-upwork · GitHub

Open Graph Title: client.epoint is modified by Gds class but not by Api · Issue #53 · upwork/python-upwork

X Title: client.epoint is modified by Gds class but not by Api · Issue #53 · upwork/python-upwork

Description: When calling the Gds class in the reports module the entry point is updated to "gds", however when subsequently calling an Api class it is not set back to "api". This results in the following error: >>>from upwork.routers.hr import engag...

Open Graph Description: When calling the Gds class in the reports module the entry point is updated to "gds", however when subsequently calling an Api class it is not set back to "api". This results in the following error...

X Description: When calling the Gds class in the reports module the entry point is updated to "gds", however when subsequently calling an Api class it is not set back to "api". This results in...

Opengraph URL: https://github.com/upwork/python-upwork/issues/53

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"client.epoint is modified by Gds class but not by Api","articleBody":"When calling the Gds class in the reports module the entry point is updated to \"gds\", however when subsequently calling an Api class it is not set back to \"api\". This results in the following error: \r\n\r\n```\r\n\u003e\u003e\u003efrom upwork.routers.hr import engagements\r\n\u003e\u003e\u003efrom upwork.routers.reports.finance import earnings, billings\r\n\u003e\u003e\u003e e = engagements.Api(client).get_list(\"{}\")\r\n\u003cResponse [200]\u003e\r\n\u003e\u003e\u003e r = earnings.Gds(client).get_by_freelancer('test', {'tq': quote('SELECT amount WHERE worked_on \"2019-06-01\" AND worked_on \u003c= \"2019-06-02\"')})\r\n\u003cResponse [200]\u003e\r\n\u003e\u003e\u003e e = engagements.Api(client).get_list(\"{}\")\r\n\u003cResponse [500]\u003e\r\n\u003e\u003e\u003e engagements.Api(client).get_list(\"{}\")\r\n\u003cResponse [500]\u003e\r\n{'version': '0.6', 'status': 'error', 'errors': [{'reason': 'other', 'message': 'Wrong URL requested'}]}\r\n\u003e\u003e\u003e client.epoint = 'api'\r\n\u003e\u003e\u003e e = engagements.Api(client).get_list(\"{}\")\r\n\u003cResponse [200]\u003e\r\n\u003e\u003e\u003e\r\n```\r\n\r\nHere is an example of responsible code in the `upwork.routers.reports.finanance.earnings` module:\r\n\r\n```\r\nclass Gds:\r\n    \"\"\" \"\"\"\r\n\r\n    client = None\r\n    entry_point = \"gds\"\r\n\r\n    def __init__(self, client):\r\n        self.client = client\r\n        self.client.epoint = self.entry_point\r\n\r\n```\r\n\r\nApi class does not set this back to \"api\":\r\n\r\n```\r\nclass Api:\r\n    \"\"\" \"\"\"\r\n\r\n    client = None\r\n\r\n    def __init__(self, client):\r\n        self.client = client\r\n```","author":{"url":"https://github.com/ChristianTheConsultant","@type":"Person","name":"ChristianTheConsultant"},"datePublished":"2020-12-03T09:32:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/53/python-upwork/issues/53"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:31a8814a-301f-8eff-8b83-678879247daf
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB89E:BCA9F:33C5EE7:458A9C1:69808F9D
html-safe-nonceee5aba4a37f3020369f9e41eaeae2494169bbb2174537178bf0dfb286c62ba2f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODlFOkJDQTlGOjMzQzVFRTc6NDU4QTlDMTo2OTgwOEY5RCIsInZpc2l0b3JfaWQiOiIzOTY0MjM3MDU2Mjg4MjY0MDkzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd3c3bfea42fcbb86dc7240a6c10453f36c9735751ec8b3c3c8ef24045db20d1d
hovercard-subject-tagissue:756025692
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/upwork/python-upwork/53/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3fb8575d7dc82470c20ca120e45bbc7a2ddf48305c2e6bf8acd3a0ea682022da/upwork/python-upwork/issues/53
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3fb8575d7dc82470c20ca120e45bbc7a2ddf48305c2e6bf8acd3a0ea682022da/upwork/python-upwork/issues/53
og:image:altWhen calling the Gds class in the reports module the entry point is updated to "gds", however when subsequently calling an Api class it is not set back to "api". This results in the following error...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameChristianTheConsultant
hostnamegithub.com
expected-hostnamegithub.com
None469777838102ab297ec4fcad28d2f2800ba15f98fafe1027761c30ba1171be52
turbo-cache-controlno-preview
go-importgithub.com/upwork/python-upwork git https://github.com/upwork/python-upwork.git
octolytics-dimension-user_id11737042
octolytics-dimension-user_loginupwork
octolytics-dimension-repository_id35096308
octolytics-dimension-repository_nwoupwork/python-upwork
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id35096308
octolytics-dimension-repository_network_root_nwoupwork/python-upwork
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseabd13d780acc53a8d052b86a5b6ac82b79676965
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/upwork/python-upwork/issues/53#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fupwork%2Fpython-upwork%2Fissues%2F53
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fupwork%2Fpython-upwork%2Fissues%2F53
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=upwork%2Fpython-upwork
Reloadhttps://patch-diff.githubusercontent.com/upwork/python-upwork/issues/53
Reloadhttps://patch-diff.githubusercontent.com/upwork/python-upwork/issues/53
Reloadhttps://patch-diff.githubusercontent.com/upwork/python-upwork/issues/53
upwork https://patch-diff.githubusercontent.com/upwork
python-upworkhttps://patch-diff.githubusercontent.com/upwork/python-upwork
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fupwork%2Fpython-upwork
Fork 55 https://patch-diff.githubusercontent.com/login?return_to=%2Fupwork%2Fpython-upwork
Star 173 https://patch-diff.githubusercontent.com/login?return_to=%2Fupwork%2Fpython-upwork
Code https://patch-diff.githubusercontent.com/upwork/python-upwork
Issues 3 https://patch-diff.githubusercontent.com/upwork/python-upwork/issues
Pull requests 0 https://patch-diff.githubusercontent.com/upwork/python-upwork/pulls
Wiki https://patch-diff.githubusercontent.com/upwork/python-upwork/wiki
Security 0 https://patch-diff.githubusercontent.com/upwork/python-upwork/security
Insights https://patch-diff.githubusercontent.com/upwork/python-upwork/pulse
Code https://patch-diff.githubusercontent.com/upwork/python-upwork
Issues https://patch-diff.githubusercontent.com/upwork/python-upwork/issues
Pull requests https://patch-diff.githubusercontent.com/upwork/python-upwork/pulls
Wiki https://patch-diff.githubusercontent.com/upwork/python-upwork/wiki
Security https://patch-diff.githubusercontent.com/upwork/python-upwork/security
Insights https://patch-diff.githubusercontent.com/upwork/python-upwork/pulse
client.epoint is modified by Gds class but not by Apihttps://patch-diff.githubusercontent.com/upwork/python-upwork/issues/53#top
https://github.com/ChristianTheConsultant
https://github.com/ChristianTheConsultant
ChristianTheConsultanthttps://github.com/ChristianTheConsultant
on Dec 3, 2020https://github.com/upwork/python-upwork/issues/53#issue-756025692
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.