René's URL Explorer Experiment


Title: [General Inference] Improve lifecycle messages · Issue #84 · CentML/centml-python-client · GitHub

Open Graph Title: [General Inference] Improve lifecycle messages · Issue #84 · CentML/centml-python-client

X Title: [General Inference] Improve lifecycle messages · Issue #84 · CentML/centml-python-client

Description: Right new, I can create a General Inference endpoint using get_centml_client(). If I use create_inference it gives the correct response: id=3889 created_at=datetime.datetime(2025, 1, 22, 15, 34, 40, 417631, tzinfo=TzInfo(UTC)) endpoint_u...

Open Graph Description: Right new, I can create a General Inference endpoint using get_centml_client(). If I use create_inference it gives the correct response: id=3889 created_at=datetime.datetime(2025, 1, 22, 15, 34, 40...

X Description: Right new, I can create a General Inference endpoint using get_centml_client(). If I use create_inference it gives the correct response: id=3889 created_at=datetime.datetime(2025, 1, 22, 15, 34, 40...

Opengraph URL: https://github.com/CentML/centml-python-client/issues/84

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[General Inference] Improve lifecycle messages","articleBody":"Right new, I can create a General Inference endpoint using get_centml_client().\nIf I use create_inference it gives the correct response:\n```\nid=3889 created_at=datetime.datetime(2025, 1, 22, 15, 34, 40, 417631, tzinfo=TzInfo(UTC)) endpoint_url='john-test.e0ccbae3.gcp.centml.org'\n```\nNow, we need to add more friendly messages for getting the status, and when deleting.\nFor example, if I delete the endpoint using delete(), I get None as response:\n```\n\u003e\u003e\u003e with get_centml_client() as cclient:\n...     print(cclient.delete(3891))\n... \nNone\u003e\u003e\u003e with get_centml_client() as cclient:\n...     print(cclient.delete(3891))\n... \nNone\n```\nHere we should confirm what we deleted the endpoint, give the id and saying that the request was sucessfull\n\nAnother point to consider is retrieving the status of the endpoint after deleting. As of now it raises an error:\nfor get_inference()\n```\n\u003e\u003e\u003e with get_centml_client() as cclient:\n...     print(cclient.get_inference(3891))\n... \nTraceback (most recent call last):\n  File \"\u003cstdin\u003e\", line 2, in \u003cmodule\u003e\n  File \"/home/john/Documents/centml/platform/centml-python-client/centml/sdk/api.py\", line 28, in get_inference\n    return self._api.get_inference_deployment_deployments_inference_deployment_id_get(id)\n  File \"/home/john/Documents/centml/platform/centml-python-client/venv/lib/python3.10/site-packages/pydantic/_internal/_validate_call.py\", line 38, in wrapper_function\n    return wrapper(*args, **kwargs)\n  File \"/home/john/Documents/centml/platform/centml-python-client/venv/lib/python3.10/site-packages/pydantic/_internal/_validate_call.py\", line 111, in __call__\n    res = self.__pydantic_validator__.validate_python(pydantic_core.ArgsKwargs(args, kwargs))\n  File \"/home/john/Documents/centml/platform/centml-python-client/venv/lib/python3.10/site-packages/platform_api_python_client/api/external_api.py\", line 4717, in get_inference_deployment_deployments_inference_deployment_id_get\n    return self.api_client.response_deserialize(\n  File \"/home/john/Documents/centml/platform/centml-python-client/venv/lib/python3.10/site-packages/platform_api_python_client/api_client.py\", line 322, in response_deserialize\n    raise ApiException.from_response(\n  File \"/home/john/Documents/centml/platform/centml-python-client/venv/lib/python3.10/site-packages/platform_api_python_client/exceptions.py\", line 151, in from_response\n    raise NotFoundException(http_resp=http_resp, body=body, data=data)\nplatform_api_python_client.exceptions.NotFoundException: (404)\nReason: Not Found\nHTTP response headers: HTTPHeaderDict({'date': 'Wed, 22 Jan 2025 15:57:36 GMT', 'server': 'istio-envoy', 'content-length': '38', 'content-type': 'application/json', 'x-envoy-upstream-service-time': '11'})\nHTTP response body: {\"detail\":\"Deployment does not exist\"}\n```\nFor get_status()\n```\n\u003e\u003e\u003e with get_centml_client() as cclient:\n...     print(cclient.get_status(3891))\n... \nTraceback (most recent call last):\n  File \"\u003cstdin\u003e\", line 2, in \u003cmodule\u003e\n  File \"/home/john/Documents/centml/platform/centml-python-client/centml/sdk/api.py\", line 25, in get_status\n    return self._api.get_deployment_status_deployments_status_deployment_id_get(id)\n  File \"/home/john/Documents/centml/platform/centml-python-client/venv/lib/python3.10/site-packages/pydantic/_internal/_validate_call.py\", line 38, in wrapper_function\n    return wrapper(*args, **kwargs)\n  File \"/home/john/Documents/centml/platform/centml-python-client/venv/lib/python3.10/site-packages/pydantic/_internal/_validate_call.py\", line 111, in __call__\n    res = self.__pydantic_validator__.validate_python(pydantic_core.ArgsKwargs(args, kwargs))\n  File \"/home/john/Documents/centml/platform/centml-python-client/venv/lib/python3.10/site-packages/platform_api_python_client/api/external_api.py\", line 3879, in get_deployment_status_deployments_status_deployment_id_get\n    return self.api_client.response_deserialize(\n  File \"/home/john/Documents/centml/platform/centml-python-client/venv/lib/python3.10/site-packages/platform_api_python_client/api_client.py\", line 322, in response_deserialize\n    raise ApiException.from_response(\n  File \"/home/john/Documents/centml/platform/centml-python-client/venv/lib/python3.10/site-packages/platform_api_python_client/exceptions.py\", line 151, in from_response\n    raise NotFoundException(http_resp=http_resp, body=body, data=data)\nplatform_api_python_client.exceptions.NotFoundException: (404)\nReason: Not Found\nHTTP response headers: HTTPHeaderDict({'date': 'Wed, 22 Jan 2025 15:58:05 GMT', 'server': 'istio-envoy', 'content-length': '38', 'content-type': 'application/json', 'x-envoy-upstream-service-time': '18'})\nHTTP response body: {\"detail\":\"Deployment does not exist\"}\n```\n\nBased on this information, I suggest the following:\n\n1. Return correct message when deleting endpoint\n2. Give correct status messages after endpoint is deleted and not raise an error\n\n┆Issue is synchronized with this [Notion page](https://www.notion.so/General-Inference-Improve-lifecycle-messages-18304095767d815ebb2dcd4b0450f036) by [Unito](https://www.unito.io)\n","author":{"url":"https://github.com/johncalesp","@type":"Person","name":"johncalesp"},"datePublished":"2025-01-22T16:19:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/84/centml-python-client/issues/84"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:045b606b-ccf3-cd29-ba3c-aa28b8b469b3
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAED0:5D4C9:2F5491:3D467A:698EB330
html-safe-nonce9cc9f4759e910823199c26a37293e807e0059403c709a05848612f6f0da9fd7f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUQwOjVENEM5OjJGNTQ5MTozRDQ2N0E6Njk4RUIzMzAiLCJ2aXNpdG9yX2lkIjoiODQ3MjA4NzAxNzY1NTU0NjY3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0d73ad1540a5fc86d391efe5d3a1799f90db0a352fa087f34e263aae6d1989be
hovercard-subject-tagissue:2804810765
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/CentML/centml-python-client/84/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d680917f22b7ec8c4590630cca866ea7eb9a78ae6bd0e19e9e7a81fb90f95a9f/CentML/centml-python-client/issues/84
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d680917f22b7ec8c4590630cca866ea7eb9a78ae6bd0e19e9e7a81fb90f95a9f/CentML/centml-python-client/issues/84
og:image:altRight new, I can create a General Inference endpoint using get_centml_client(). If I use create_inference it gives the correct response: id=3889 created_at=datetime.datetime(2025, 1, 22, 15, 34, 40...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejohncalesp
hostnamegithub.com
expected-hostnamegithub.com
Nonecb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba
turbo-cache-controlno-preview
go-importgithub.com/CentML/centml-python-client git https://github.com/CentML/centml-python-client.git
octolytics-dimension-user_id98933447
octolytics-dimension-user_loginCentML
octolytics-dimension-repository_id666050741
octolytics-dimension-repository_nwoCentML/centml-python-client
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id666050741
octolytics-dimension-repository_network_root_nwoCentML/centml-python-client
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
releasee6b91a7e6e46287d26887e3fb7a4161657bab8f7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/CentML/centml-python-client/issues/84#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FCentML%2Fcentml-python-client%2Fissues%2F84
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%2FCentML%2Fcentml-python-client%2Fissues%2F84
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=CentML%2Fcentml-python-client
Reloadhttps://patch-diff.githubusercontent.com/CentML/centml-python-client/issues/84
Reloadhttps://patch-diff.githubusercontent.com/CentML/centml-python-client/issues/84
Reloadhttps://patch-diff.githubusercontent.com/CentML/centml-python-client/issues/84
CentML https://patch-diff.githubusercontent.com/CentML
centml-python-clienthttps://patch-diff.githubusercontent.com/CentML/centml-python-client
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FCentML%2Fcentml-python-client
Fork 1 https://patch-diff.githubusercontent.com/login?return_to=%2FCentML%2Fcentml-python-client
Star 1 https://patch-diff.githubusercontent.com/login?return_to=%2FCentML%2Fcentml-python-client
Code https://patch-diff.githubusercontent.com/CentML/centml-python-client
Issues 9 https://patch-diff.githubusercontent.com/CentML/centml-python-client/issues
Pull requests 2 https://patch-diff.githubusercontent.com/CentML/centml-python-client/pulls
Actions https://patch-diff.githubusercontent.com/CentML/centml-python-client/actions
Projects 0 https://patch-diff.githubusercontent.com/CentML/centml-python-client/projects
Security 0 https://patch-diff.githubusercontent.com/CentML/centml-python-client/security
Insights https://patch-diff.githubusercontent.com/CentML/centml-python-client/pulse
Code https://patch-diff.githubusercontent.com/CentML/centml-python-client
Issues https://patch-diff.githubusercontent.com/CentML/centml-python-client/issues
Pull requests https://patch-diff.githubusercontent.com/CentML/centml-python-client/pulls
Actions https://patch-diff.githubusercontent.com/CentML/centml-python-client/actions
Projects https://patch-diff.githubusercontent.com/CentML/centml-python-client/projects
Security https://patch-diff.githubusercontent.com/CentML/centml-python-client/security
Insights https://patch-diff.githubusercontent.com/CentML/centml-python-client/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/CentML/centml-python-client/issues/84
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/CentML/centml-python-client/issues/84
[General Inference] Improve lifecycle messageshttps://patch-diff.githubusercontent.com/CentML/centml-python-client/issues/84#top
https://patch-diff.githubusercontent.com/V2arK
https://github.com/johncalesp
https://github.com/johncalesp
johncalesphttps://github.com/johncalesp
on Jan 22, 2025https://github.com/CentML/centml-python-client/issues/84#issue-2804810765
Notion pagehttps://www.notion.so/General-Inference-Improve-lifecycle-messages-18304095767d815ebb2dcd4b0450f036
Unitohttps://www.unito.io
V2arKhttps://patch-diff.githubusercontent.com/V2arK
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.