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
Accelerator
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
Type
/
to 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 }}
coosoti
/
alx-backend-python
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
alx-backend-python
0x00-python_variable_annotations
on
main
User selector
All users
All time
Commit history
Commits on Dec 3, 2021
[Type-Checking] added a refactored code after using mypy to validate code and applied necessary changes
coosoti
committed
94fc007
View commit details
Copy full SHA for 94fc007
View code at this point
Browse repository at this point
[TypeVar - more involved typed annotations] added appropriate type annotations to the function
coosoti
committed
08d7ffc
View commit details
Copy full SHA for 08d7ffc
View code at this point
Browse repository at this point
[Duck typing -1st element of a sequency augmented a code with correct duck-typed annotations
coosoti
committed
aa0f90f
View commit details
Copy full SHA for aa0f90f
View code at this point
Browse repository at this point
added README file
coosoti
committed
7364b0a
View commit details
Copy full SHA for 7364b0a
View code at this point
Browse repository at this point
Commits on Dec 2, 2021
[duck type] added annonated function's parameters and return values with the appropriate types
coosoti
committed
47eb119
View commit details
Copy full SHA for 47eb119
View code at this point
Browse repository at this point
[Complex types - functions] added a type-annotated function make_multiplier that takes a float multiplier as argument and returns a function that multiplies a float by multiplier
coosoti
committed
af84e64
View commit details
Copy full SHA for af84e64
View code at this point
Browse repository at this point
[complex types - string and int/float to tuple] added a type-annotated function to_kv that takes a string k and an int OR float v as arguments and returns a tuple. The first element of the tuple is…
Show description for 4f9eca5
coosoti
committed
4f9eca5
View commit details
Copy full SHA for 4f9eca5
View code at this point
Browse repository at this point
[complex types - mixed list] added a type-annotated function sum_mixed_list which takes a list mxd_lst of integers and floats and returns their sum as a float
coosoti
committed
3d62466
View commit details
Copy full SHA for 3d62466
View code at this point
Browse repository at this point
[complex types - list of lists] added a type-annotated function sum_list which takes a list input_list of floats as argument and returns their sum as a float.
coosoti
committed
2abceb8
View commit details
Copy full SHA for 2abceb8
View code at this point
Browse repository at this point
[Define Variable - Type annonation] added a module that define and annotate the following variables with the specified values:
Show description for 777440d
coosoti
committed
777440d
View commit details
Copy full SHA for 777440d
View code at this point
Browse repository at this point
[basic annotations - to string] added a a type-annotated function to_str that takes a float n as argument and returns the string representation of the float
coosoti
committed
0f07200
View commit details
Copy full SHA for 0f07200
View code at this point
Browse repository at this point
[basic annonation - math floor] added a type-annotated function floor which takes a float n as argument and returns the floor of the float
coosoti
committed
5454846
View commit details
Copy full SHA for 5454846
View code at this point
Browse repository at this point
[basic annotation - concatenating strings] added a type-annotated function concat that takes a string str1 and a string str2 as arguments and returns a concatenated string
coosoti
committed
6cb998a
View commit details
Copy full SHA for 6cb998a
View code at this point
Browse repository at this point
[Basic annotated function - add] added a type-annotated function add that takes a float a and a float b as arguments and returns their sum as a float
coosoti
committed
2aaa394
View commit details
Copy full SHA for 2aaa394
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.