Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
mailtrap
/
mailtrap-python
Public
Notifications
You must be signed in to change notification settings
Fork
7
Star
48
Code
Issues
0
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
MT-23076: support api token expiration in create and reset
- #77
#77
Merged
oshchyhol
merged 17 commits into
main
mailtrap/mailtrap-python:main
from
MT-23076-python-api-token-expiration
mailtrap/mailtrap-python:MT-23076-python-api-token-expiration
Copy head branch name to clipboard
Aug 31, 2026
Conversation
Commits
17
(17)
Checks
Files changed
Merged
MT-23076: support api token expiration in create and reset
#77
oshchyhol
merged 17 commits into
main
mailtrap/mailtrap-python:main
from
MT-23076-python-api-token-expiration
mailtrap/mailtrap-python:MT-23076-python-api-token-expiration
Copy head branch name to clipboard
Commits
Commits on Aug 26, 2026
MT-23076: support expires_at when creating api tokens
oshchyhol
committed
c844bfd
View commit details
Copy full SHA for c844bfd
Browse repository at this point
MT-23076: support optional expires_at on api token reset
oshchyhol
committed
db5207c
View commit details
Copy full SHA for db5207c
Browse repository at this point
MT-23076: cover api token expires_at request bodies in tests
oshchyhol
committed
cde2b77
View commit details
Copy full SHA for cde2b77
Browse repository at this point
MT-23076: show api token expiration in examples
oshchyhol
committed
3fdfcc1
View commit details
Copy full SHA for 3fdfcc1
Browse repository at this point
MT-23076: align the reset docstring with the expired-token rule
oshchyhol
committed
a974c9c
View commit details
Copy full SHA for a974c9c
Browse repository at this point
MT-23076: assert invalid expires_at values reach the server unchanged
oshchyhol
committed
501a1b9
View commit details
Copy full SHA for 501a1b9
Browse repository at this point
MT-23076: keep api token params constructible positionally
oshchyhol
committed
f763890
View commit details
Copy full SHA for f763890
Browse repository at this point
MT-23076: drop UNSET fields at any depth in request params
oshchyhol
committed
4880b59
View commit details
Copy full SHA for 4880b59
Browse repository at this point
MT-23076: cover api token params serialization
oshchyhol
committed
89e06ba
View commit details
Copy full SHA for 89e06ba
Browse repository at this point
MT-23076: compute the example token expiration
oshchyhol
committed
9470d10
View commit details
Copy full SHA for 9470d10
Browse repository at this point
MT-23076: use the real 422 body for the rejected expiration tests
oshchyhol
committed
27bebb5
View commit details
Copy full SHA for 27bebb5
Browse repository at this point
Commits on Aug 28, 2026
MT-23076: export UnsetType alongside UNSET
oshchyhol
committed
3912aa7
View commit details
Copy full SHA for 3912aa7
Browse repository at this point
MT-23076: keep the default expiration path in the api token example
oshchyhol
committed
e30e098
View commit details
Copy full SHA for e30e098
Browse repository at this point
MT-23076: copy super().api_data before mutating it
oshchyhol
committed
ebf435a
View commit details
Copy full SHA for ebf435a
Browse repository at this point
MT-23076: state the 1-year default in the api token docstrings
oshchyhol
committed
7c4d36f
View commit details
Copy full SHA for 7c4d36f
Browse repository at this point
MT-23076: delete every token the api token example creates
oshchyhol
committed
c7b4bcf
View commit details
Copy full SHA for c7b4bcf
Browse repository at this point
MT-23076: drop UNSET values inside tuples too
oshchyhol
committed
c23b039
View commit details
Copy full SHA for c23b039
Browse repository at this point
You can’t perform that action at this time.