profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/hramezani/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Hasan Ramezani hramezani @crate Berlin http://stackoverflow.com/users/3465428/hasan-ramezani Backend Developer, @django Core contributor

hramezani/django-jalali 2

Jalali DateField support for Django model

hramezani/crate_assessment_task 1

Crate Assessment Task Backend Developer

hramezani/django 1

The Web framework for perfectionists with deadlines.

hramezani/Activiti 0

Activiti is a light-weight workflow and Business Process Management (BPM) Platform targeted at business people, developers and system admins. Its core is a super-fast and rock-solid BPMN 2 process engine for Java. It's open-source and distributed under the Apache license. Activiti runs in any Java application, on a server, on a cluster or in the cloud. It integrates perfectly with Spring, it is extremely lightweight and based on simple concepts.

hramezani/awesome-wm-widgets 0

Widgets for Awesome Window Manager

hramezani/bedrock 0

Making mozilla.org awesome, one pebble at a time

hramezani/black 0

The uncompromising Python code formatter

hramezani/broadcaster 0

Broadcast channels for async web apps. 📢

hramezani/cal-events 0

calendar event database for persian calendar

PullRequestReviewEvent
PullRequestReviewEvent

push eventhramezani/urllib3

Hasan Ramezani

commit sha d68579d357f02b6d39b1cc93a9ee8f27a4e99793

Add missed type hints for test.with_dummyserver.test_poolmanager

view details

Hasan Ramezani

commit sha 684bb9222a6b5442ad881acb6fbff1086b9b8c04

Add type hints to test.with_dummyserver.test_chunked_transfer

view details

Hasan Ramezani

commit sha 9ae834233bf1910026cde4557440667da3eb3c0d

Add type hints to test.with_dummyserver.test_proxy_poolmanager

view details

push time in 3 days

issue commentslashmili/django-jalali

_lt _lte _mt _mte not supported despite of orginal datetime

You can use __gt for greater than filter.

Admia1

comment created time in 4 days

delete branch hramezani/urllib3

delete branch : hasan/add_type_hints_test_chunked_transfer

delete time in 4 days

pull request commenturllib3/urllib3

Add type hints to test.with_dummyserver.test_proxy_poolmanager

There are some mypy errors related ‍to test.with_dummyserver.test_poolmanager that will be fixed after we merged https://github.com/urllib3/urllib3/pull/2420

hramezani

comment created time in 4 days

Pull request review commenturllib3/urllib3

Add type hints to test.with_dummyserver.test_proxy_poolmanager

 class ProxyManager(PoolManager):      def __init__(         self,-        proxy_url: str,+        proxy_url: Union[ConnectionPool, str],

Done!

hramezani

comment created time in 4 days

PullRequestReviewEvent

push eventhramezani/urllib3

Quentin Pradet

commit sha da53a649f77dd597be22f4e1bd4c7a5e1963ee5b

Link to changelog guildelines from contributing docs

view details

euri10

commit sha 0a40a2b35db04eddf8063d274e01042df483554c

Add an example of using a custom SSLContext to docs Co-authored-by: Quentin Pradet <quentin.pradet@gmail.com>

view details

P. Sai Vinay

commit sha c5bc7163022c0ac2e765cdb7309937a53e32d368

Add support for native JSON request and response bodies Co-authored-by: Quentin Pradet <quentin@pradet.me> Co-authored-by: Seth Michael Larson <sethmichaellarson@gmail.com>

view details

Hasan Ramezani

commit sha 97c4c6a61d01f982937428f54ef10f81dfe256a2

Add type hints to test.with_dummyserver.test_poolmanager

view details

Hasan Ramezani

commit sha dc2547a27d2b6045df94a30fa73b101ab5297e53

Add type hints to test.with_dummyserver.test_proxy_poolmanager

view details

push time in 4 days

PR opened urllib3/urllib3

Add missed type hints for test.with_dummyserver.test_poolmanager

<!--- Thanks for your contribution! ♥️

If this is your first PR to urllib3 please review the Contributing Guide: https://urllib3.readthedocs.io/en/latest/contributing.html

Adhering to the Contributing Guide means we can review, merge, and release your change faster! :) --->

+4 -4

0 comment

1 changed file

pr created time in 4 days

create barnchhramezani/urllib3

branch : complete_test_pollmanager_type_hints

created branch time in 4 days

delete branch hramezani/urllib3

delete branch : test_dummy_test_poolmanager_type_hints

delete time in 5 days

Pull request review commenturllib3/urllib3

Add type hints to test.with_dummyserver.test_proxy_poolmanager

 class ProxyManager(PoolManager):      def __init__(         self,-        proxy_url: str,+        proxy_url: Union[ConnectionPool, str],

Shall we change it to HTTPConnectionPool and ignore the mypy error in test?

hramezani

comment created time in 6 days

PullRequestReviewEvent

Pull request review commenturllib3/urllib3

Add type hints to test.with_dummyserver.test_proxy_poolmanager

 class HTTPDummyProxyTestCase:     http_host_alt = "127.0.0.1"     http_server: ClassVar[httpserver.HTTPServer]     http_port: ClassVar[int]+    http_url: ClassVar[str]+    http_url_alt: ClassVar[str]      https_host = "localhost"     https_host_alt = "127.0.0.1"     https_certs = DEFAULT_CERTS     https_server: ClassVar[httpserver.HTTPServer]     https_port: ClassVar[int]+    https_url: ClassVar[str]+    https_url_alt: ClassVar[str]      proxy_host = "localhost"     proxy_host_alt = "127.0.0.1"     proxy_server: ClassVar[httpserver.HTTPServer]     proxy_port: ClassVar[int]+    proxy_url: ClassVar[str]     https_proxy_server: ClassVar[httpserver.HTTPServer]     https_proxy_port: ClassVar[int]+    https_proxy_url: ClassVar[str]++    certs_dir = ""

Ok, Thanks for the explanation. Changed them to ClassVar

hramezani

comment created time in 6 days

PullRequestReviewEvent

push eventhramezani/urllib3

Derek Higgins

commit sha 7c9ca88b7dd5fe6b0e9fac52f72202edd74bd8b2

Strip brackets from IPv6 hosts before certificate hostname matching Co-authored-by: Seth Michael Larson <sethmichaellarson@gmail.com>

view details

Hasan Ramezani

commit sha 442b25e00630e20a574bad96d8e258530fcd901e

Add type hints to test.with_dummyserver.test_proxy_poolmanager

view details

push time in 6 days

PullRequestReviewEvent

push eventhramezani/urllib3

Seth Michael Larson

commit sha cff8b5ba3d2ba9338e31c102e1e91273124df297

Remove the 'urllib3.request' module (#2398)

view details

Hasan Ramezani

commit sha b87d61a10eac3364128ce45d6560c7f25e1c2b0d

Add type hints to test.with_dummyserver.test_https

view details

Hasan Ramezani

commit sha fdf4047beac0a1e7f8b046c7d07a74d377a71385

Add entry for removal default value of request_context to changelog Co-authored-by: Seth Michael Larson <sethmichaellarson@gmail.com>

view details

Hasan Ramezani

commit sha 196809734e181ac8c82d37abcff99b81c85fd455

Add type hints to test.with_dummyserver.test_integration

view details

Hasan Ramezani

commit sha 8b2efe0b79459499e0d0190b328ee50e5b971301

Fix test.with_dummyserver.test_https type problems

view details

Hasan Ramezani

commit sha 82ff145c7b6637f9a52a99dea1166779771c6941

Add type hints to test.test_no_ssl

view details

Quentin Pradet

commit sha e77b33b60baaa74d80a651cb70d15108cb10e61b

Revert urllib3.contrib.socks exception chaining

view details

Hasan Ramezani

commit sha 384feec1597cbcf4ce6b4f3ced3d927b6b33bef3

Add type hints to test.with_dummyserver.test_no_ssl

view details

Derek Higgins

commit sha 7c9ca88b7dd5fe6b0e9fac52f72202edd74bd8b2

Strip brackets from IPv6 hosts before certificate hostname matching Co-authored-by: Seth Michael Larson <sethmichaellarson@gmail.com>

view details

Hasan Ramezani

commit sha a65814492ccd9bf4e1fa5e7973354a83ddf23ee7

Add type hints to test.with_dummyserver.test_chunked_transfer

view details

push time in 6 days

pull request commenturllib3/urllib3

Add type hints to test.with_dummyserver.test_connectionpool

@pquentin Thanks for finding this. I added a commit to drop it.

hramezani

comment created time in 6 days

push eventhramezani/urllib3

Derek Higgins

commit sha 7c9ca88b7dd5fe6b0e9fac52f72202edd74bd8b2

Strip brackets from IPv6 hosts before certificate hostname matching Co-authored-by: Seth Michael Larson <sethmichaellarson@gmail.com>

view details

Hasan Ramezani

commit sha 77b373ff4b7732ef0c4d3a93573c96f4ca4e4f9b

Add type hints to test.with_dummyserver.test_connectionpool

view details

Hasan Ramezani

commit sha b0ed172124006d86ca749b949cc3a69ea2f9b317

Add type hints for fields.

view details

Hasan Ramezani

commit sha 68d46afe707a660fe94950a796b3a18e59cf59e1

Change request method to Generic.

view details

Hasan Ramezani

commit sha 560602c1b899cf6efdc9273991b7f9d2bb16ae46

Removed support for integer field data from urllib3.filepost.encode_multipart_formdata

view details

push time in 6 days

PullRequestReviewEvent

Pull request review commenturllib3/urllib3

Add type hints to test.with_dummyserver.test_proxy_poolmanager

 class ProxyManager(PoolManager):      def __init__(         self,-        proxy_url: str,+        proxy_url: Union[ConnectionPool, str],

Then we have an error in test_oldapi https://github.com/urllib3/urllib3/blob/7c9ca88b7dd5fe6b0e9fac52f72202edd74bd8b2/test/with_dummyserver/test_proxy_poolmanager.py#L165

because connection_from_url returns ConnectionPool and ProxyManager accepts HTTPConnectionPool

test/with_dummyserver/test_proxy_poolmanager.py:168: error: Argument 1 to "ProxyManager" has incompatible type "ConnectionPool"; expected "Union[HTTPConnectionPool, str]"  [arg-type]
hramezani

comment created time in 6 days

PullRequestReviewEvent

Pull request review commenturllib3/urllib3

Add type hints to test.with_dummyserver.test_proxy_poolmanager

 class HTTPDummyProxyTestCase:     http_host_alt = "127.0.0.1"     http_server: ClassVar[httpserver.HTTPServer]     http_port: ClassVar[int]+    http_url: ClassVar[str]+    http_url_alt: ClassVar[str]      https_host = "localhost"     https_host_alt = "127.0.0.1"     https_certs = DEFAULT_CERTS     https_server: ClassVar[httpserver.HTTPServer]     https_port: ClassVar[int]+    https_url: ClassVar[str]+    https_url_alt: ClassVar[str]      proxy_host = "localhost"     proxy_host_alt = "127.0.0.1"     proxy_server: ClassVar[httpserver.HTTPServer]     proxy_port: ClassVar[int]+    proxy_url: ClassVar[str]     https_proxy_server: ClassVar[httpserver.HTTPServer]     https_proxy_port: ClassVar[int]+    https_proxy_url: ClassVar[str]++    certs_dir = ""

as we don't have ClassVar for the other class variables with default values in this file, I didn't define it by ClassVar for example: https://github.com/urllib3/urllib3/blob/7c9ca88b7dd5fe6b0e9fac52f72202edd74bd8b2/dummyserver/testcase.py#L191

Should we change them as well?

hramezani

comment created time in 6 days

PullRequestReviewEvent

PR opened urllib3/urllib3

Add type hints to test.with_dummyserver.test_proxy_poolmanager

<!--- Thanks for your contribution! ♥️

If this is your first PR to urllib3 please review the Contributing Guide: https://urllib3.readthedocs.io/en/latest/contributing.html

Adhering to the Contributing Guide means we can review, merge, and release your change faster! :) --->

+57 -33

0 comment

4 changed files

pr created time in 7 days

delete branch jazzband/django-axes

delete branch : dependabot/pip/tox-3.24.4

delete time in 7 days

push eventjazzband/django-axes

dependabot[bot]

commit sha 53b243c4aa41f1ff0b80dece4db8380154f81276

Bump tox from 3.24.3 to 3.24.4 Bumps [tox](https://github.com/tox-dev/tox) from 3.24.3 to 3.24.4. - [Release notes](https://github.com/tox-dev/tox/releases) - [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst) - [Commits](https://github.com/tox-dev/tox/compare/3.24.3...3.24.4) --- updated-dependencies: - dependency-name: tox dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>

view details

push time in 7 days