135201
You will be muted until you read the rules. Read them! @Rules_for_Python A group about the Python programming language. Offtopic things go here: @pythonofftopic Resources to learn python: @pythonres Group for Hy: @hylang Selenium: @SeleniumPython
my problem is what should i do next it think painful for me ask even though i coded so many hours some projects . let me say while some projects iam getting errors so which way i want to improve
Читать полностью…
come on bro what i want to is improve myself even 1% is enough from me daily don't look down on me ok
Читать полностью…
heroes: list["Hero"]
heroes = Relationship(back_populates="group")
heroes: Annotated[list["Hero"], Relationship(back_populates="group")] = []
Hey guys, does SQLModel not support "Annotated + Relationship" ?
class Group(SQLModel, table=True):Читать полностью…
"""Group Model"""
id: Annotated[int | None, Field(primary_key=True)] = None
name: Annotated[str, Field(index=True, description="Name of the group")]
# Error
# heroes: Annotated[list["Hero"], Relationship(back_populates="group")] = []
heroes: list["Hero"] = Relationship(back_populates="group")
class Hero(SQLModel, table=True):
"""Hero Model"""
id: Annotated[int | None, Field(primary_key=True)] = None
name: Annotated[str, Field(index=True, description="Name of the hero")]
group_id: Annotated[int | None, Field(foreign_key="group.id")] = None
group: Group | None = Relationship(back_populates="heroes")
Hie guys im from zim i wrote my o level an i passed 11 now i want to start a bootcamp for data science can i pass
Читать полностью…
Focus on the basics. Try to better follow a book or a course because you are not ready to choose some topics and skip others
Читать полностью…
If you want from YouTube better to use the search there. Here we recommend reading rather than watching videos
Читать полностью…
You have not given me anything specific to work with. All I can safely do is tell you to read books. And I wouldn't even know which one to recommend.
Читать полностью…
No wonder you're stuck if all you search for is architecture. Google can guess as much as we can about what you want.
hi guys this pavan i recently practicing my python code help me with your guidance and let us connect from now on
Читать полностью…
Bottom line: Annotated is for type hints/metadata, but Relationship() needs to be executed and assigned directly.
Читать полностью…
heroes: list["Hero"] = Relationship(back_populates="group")
Читать полностью…
This group is to help you on specific issues you have on YOUR code, so you have to show the code you wrote and explain where and why you are stuck... as simple as that
Читать полностью…
looks like you need an offtopic group, please delete the off-topic message(s) and continue this conversation at @pythonofftopic
Читать полностью…
The most effective way to learn is to have a purpose (something to build)
Читать полностью…
Hi everyone!
I’m new here and just starting to learn Python.
Could you please recommend what I should focus on first and how to learn more effectively?
Thanks in advance!