Comments (6)
Ok, let's expose public API in returns
module.
from returns.
Hi, thank you for the report!
I know wemake-services-styleguide
used in the project has rules against it.
@sobolevn what do you think?
Should we export public API to the top-level package?
Regards, Artem.
from returns.
Why do you want to use imports like that?
Why can't you use from returns.results import Result
or from returns import result
?
from returns.
from returns.
import returns.result
returns.result.Result()
vs
import returns
returns.Result()
I would prefer the second one.
from returns.
Closed by 4e9ab7b
from returns.
Related Issues (20)
- Changes `impure_safe` to have the same arguments as `safe` decorator
- error: Error importing plugin "returns.contrib.mypy.returns_plugin": No module named 'returns' [misc] HOT 7
- Use with Sentry HOT 2
- Please help installing returns with pyproject.toml HOT 3
- Do Notation not accepting variable from previous statement HOT 1
- How to run an example under asyncio? HOT 1
- Question. Async SQLAlchemy from sync methods HOT 2
- Consider vendoring `curio` HOT 1
- Feature Request: Convenience constructor for Result HOT 2
- Feature Request: convenience method for ResultE.unwrap() HOT 2
- mypy error for HKT example from docs HOT 5
- Breaking deserialization backward compatibility between 0.19.0 and 0.20.0 HOT 1
- Hypothesis plugin need an update
- Update mypy
- Feature Request: Let Pipe function take more than 1 positional argument. HOT 1
- Document methods.cond vs pointfree.cond HOT 3
- Mypy 1.6.1 fails with returns 0.21.0 on use of `curry.partial` HOT 5
- How to declare type of new variables in Success and Failure instantiations for MyPy HOT 5
- "Nitpick" in documents goes to a dead link
- Help needed: error handling HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from returns.