René's URL Explorer Experiment


Title: API 5.0 WP4.3: Handling of files in local mode by Bibo-Joshi · Pull Request #2223 · python-telegram-bot/python-telegram-bot · GitHub

Open Graph Title: API 5.0 WP4.3: Handling of files in local mode by Bibo-Joshi · Pull Request #2223 · python-telegram-bot/python-telegram-bot

X Title: API 5.0 WP4.3: Handling of files in local mode by Bibo-Joshi · Pull Request #2223 · python-telegram-bot/python-telegram-bot

Description: add ability to pass pathlib.Path objects instead of strings

Open Graph Description: add ability to pass pathlib.Path objects instead of strings

X Description: add ability to pass pathlib.Path objects instead of strings

Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot/pull/2223

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:017ea0ae-f740-12ef-c9a8-614ce6fc3f6c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA6C4:AC3D5:B25C35:E9F492:6B026A4C
html-safe-nonce09ac0b8fa4007b05bc1a7c514d444b5171dd9cc35e8850de2d0461965334fbc4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkM0OkFDM0Q1OkIyNUMzNTpFOUY0OTI6NkIwMjZBNEMiLCJ2aXNpdG9yX2lkIjoiNjAwNzkyNzg5MzI3ODIyMjkyNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaccb4b9433244ae71addc6037113616cb983f3fcf91a826418258b615c8131bc65
hovercard-subject-tagpull_request:526708375
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files
twitter:imagehttps://avatars.githubusercontent.com/u/22366557?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/22366557?s=400&v=4
og:image:altadd ability to pass pathlib.Path objects instead of strings
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python-telegram-bot/python-telegram-bot git https://github.com/python-telegram-bot/python-telegram-bot.git
octolytics-dimension-user_id16178365
octolytics-dimension-user_loginpython-telegram-bot
octolytics-dimension-repository_id38696925
octolytics-dimension-repository_nwopython-telegram-bot/python-telegram-bot
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id38696925
octolytics-dimension-repository_network_root_nwopython-telegram-bot/python-telegram-bot
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fpull%2F2223%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fpull%2F2223%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python-telegram-bot%2Fpython-telegram-bot
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files
python-telegram-bothttps://github.com/python-telegram-bot
python-telegram-bothttps://github.com/python-telegram-bot/python-telegram-bot
Codehttps://github.com/python-telegram-bot/python-telegram-bot
Issues23 (23)https://github.com/python-telegram-bot/python-telegram-bot/issues
Pull requests19 (19)https://github.com/python-telegram-bot/python-telegram-bot/pulls
Discussionshttps://github.com/python-telegram-bot/python-telegram-bot/discussions
Actionshttps://github.com/python-telegram-bot/python-telegram-bot/actions
Projectshttps://github.com/python-telegram-bot/python-telegram-bot/projects
Wikihttps://github.com/python-telegram-bot/python-telegram-bot/wiki
Security and qualityhttps://github.com/python-telegram-bot/python-telegram-bot/security
Insightshttps://github.com/python-telegram-bot/python-telegram-bot/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fissues%2Fnew%2Fchoose
Bibo-Joshihttps://github.com/Bibo-Joshi
api-5.0-masterhttps://github.com/python-telegram-bot/python-telegram-bot/tree/api-5.0-master
api-5.0-local-bot-API-serverhttps://github.com/python-telegram-bot/python-telegram-bot/tree/api-5.0-local-bot-API-server
Conversation 20 https://github.com/python-telegram-bot/python-telegram-bot/pull/2223
Commits 10 https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/commits
Checks 0 https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/checks
Files changed https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files
API 5.0 WP4.3: Handling of files in local mode https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#top
Show all changes 10 commits https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files
242847d initial commit Poolitzer Nov 24, 2020 https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/commits/242847dda43f9601259523d6326a0a0fb6d0bc73
661109b Some tweaking & tests Bibo-Joshi Nov 24, 2020 https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/commits/661109b271b3bb3a996b036ae114fb12542d7c09
aa2ff17 Handle local paths as file input and unify file input parsing Bibo-Joshi Nov 25, 2020 https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/commits/aa2ff17558a0c17f3abfdea2c7d64c89e8d35311
aaa7e9e Accept pathlib.Path objects for paths Bibo-Joshi Nov 25, 2020 https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/commits/aaa7e9ec6d3907bc3bec771edfbe66a261715565
6a7e5ad Some tweaks in download logic Bibo-Joshi Nov 28, 2020 https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/commits/6a7e5adab0d9370b98a34c253f5d3fde050e1f1c
2d1f7bf Tweak some more Bibo-Joshi Nov 28, 2020 https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/commits/2d1f7bf2ba586c86dd7e65eacd9ea1e41f11eaf6
166611b Address review Bibo-Joshi Nov 28, 2020 https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/commits/166611b3a35a3400a97866e0ae0e245a8e587fc0
03f0503 Update telegram/files/file.py Bibo-Joshi Nov 29, 2020 https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/commits/03f05037026fb4361d555faab20756a6e9a20dee
67f8918 Update telegram/utils/helpers.py Bibo-Joshi Nov 29, 2020 https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/commits/67f8918b52356154a3b564063cecc57341c9cc76
c22ce33 Merge branch 'api-5.0-master' into api-5.0-local-bot-API-server Bibo-Joshi Nov 29, 2020 https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/commits/c22ce33e668a4e30472ac345be1ec044d062eae5
Clear filters https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files
bot.py https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-ca0526e3005b92a3844ee53d68688fe5a8c438332365a0efc3275a814cca5008
file.py https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-98e36376466152a27ea483f90d2fae8e1d9b945600b63385d84ed47aeb596345
inputmedia.py https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518
helpers.py https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-d18a741ffd038a7b68453479cba52f796086e9e2bc1bc376ebd25e5d121b9ed3
types.py https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-579bb99b7b515044cbebd1957e0ea276a3546e2cd1f5fcab83e58b3ee9a98bce
local_file.txt https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-a4d44514b4653f2aa6afea4febdede94d695a8de6f6f6a5fdf54108425be9fde
test_animation.py https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-b8f40631b254920c1804a577a99f80f353062bedc615f6b08448c7cccaa78f5c
test_audio.py https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-7508e3e3b4ca7d74c8f22926f85e5b37bf4a63ec157ae9b165fe11e275bcc8fe
test_bot.py https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-16435365ee487202cae42fc85f2bcb3f6d3883545fbdce46cf68fd5c74abffbb
test_document.py https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-78e792cfafc71ca614966d5be40f70098bf25e7ef39acece8692f691102db801
test_file.py https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-37da7019025c60a98cc1cea1ccc43217ec34e11a2d66e1b51ee29cf65abbbdf4
test_helpers.py https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-08a6944653efc734f4c8cb856fc854b9f21d655ca69796af2b170c53bff7919e
test_inputmedia.py https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-99220f362df983ea0c86272f0510392a0ff655e62a76befe7cead59a95c1dde7
test_photo.py https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-eaddb8677ac1e55289ae8ee4a4f62bd7c202f79b14c2d3c195717cf5f69e7e87
test_sticker.py https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-7ad01768430ebb8e5c5ee707b4672e2601155763db9fc983fa4293544d9f8e9e
test_video.py https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-c7fd815146b9df142d46ae881ad6f5fd0132e48a8808ab563c5436973ad16a22
test_videonote.py https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-c0c184558314f6d74f777da6aefc6c4991789cb4e41f6344a5328d9ae220dcae
test_voice.py https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-74a5a1b356ecd2423577742e18d19c5c16d5b69f1962d4942b225279a88967bf
telegram/bot.pyhttps://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-ca0526e3005b92a3844ee53d68688fe5a8c438332365a0efc3275a814cca5008
View file https://github.com/python-telegram-bot/python-telegram-bot/blob/c22ce33e668a4e30472ac345be1ec044d062eae5/telegram/bot.py
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files
telegram/files/file.pyhttps://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-98e36376466152a27ea483f90d2fae8e1d9b945600b63385d84ed47aeb596345
View file https://github.com/python-telegram-bot/python-telegram-bot/blob/c22ce33e668a4e30472ac345be1ec044d062eae5/telegram/files/file.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/{{ revealButtonHref }}
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-98e36376466152a27ea483f90d2fae8e1d9b945600b63385d84ed47aeb596345
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-98e36376466152a27ea483f90d2fae8e1d9b945600b63385d84ed47aeb596345
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-98e36376466152a27ea483f90d2fae8e1d9b945600b63385d84ed47aeb596345
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-98e36376466152a27ea483f90d2fae8e1d9b945600b63385d84ed47aeb596345
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-98e36376466152a27ea483f90d2fae8e1d9b945600b63385d84ed47aeb596345
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-98e36376466152a27ea483f90d2fae8e1d9b945600b63385d84ed47aeb596345
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-98e36376466152a27ea483f90d2fae8e1d9b945600b63385d84ed47aeb596345
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-98e36376466152a27ea483f90d2fae8e1d9b945600b63385d84ed47aeb596345
telegram/files/inputmedia.pyhttps://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518
View file https://github.com/python-telegram-bot/python-telegram-bot/blob/c22ce33e668a4e30472ac345be1ec044d062eae5/telegram/files/inputmedia.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/{{ revealButtonHref }}
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518
https://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files#diff-3f94e3815fad490980120d49ae76764f596a8ff6a68d9846053816237205b518
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/2223/files
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.