- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 3,444 for Person (0.04 seconds)
-
tests/joins_table_test.go
person := Person{Name: "person", Addresses: []Address{address1, address2}} DB.Create(&person) var addresses1 []Address if err := DB.Model(&person).Association("Addresses").Find(&addresses1); err != nil || len(addresses1) != 2 { t.Fatalf("Failed to find address, got error %v, length: %v", err, len(addresses1)) } if err := DB.Model(&person).Association("Addresses").Delete(&person.Addresses[0]); err != nil {Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Sep 10 13:46:18 GMT 2020 - 3.5K bytes - Click Count (1) -
tests/test_read_with_orm_mode.py
full_name: str model_config = {"from_attributes": True} app = FastAPI() @app.post("/people/", response_model=PersonRead) def create_person(person: PersonCreate) -> Any: db_person = Person.model_validate(person) return db_person client = TestClient(app) person_data = {"name": "Dive", "lastname": "Wilson"} response = client.post("/people/", json=person_data)Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 1.2K bytes - Click Count (0) -
tests/test_jsonable_encoder.py
from pydantic import BaseModel, Field, ValidationError class Person: def __init__(self, name: str): self.name = name class Pet: def __init__(self, owner: Person, name: str): self.owner = owner self.name = name @dataclass class Item: name: str count: int class DictablePerson(Person): def __iter__(self):Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 9.2K bytes - Click Count (0) -
tests/test_tutorial/test_python_types/test_tutorial010.py
from docs_src.python_types.tutorial010_py39 import Person, get_person_name def test_get_person_name():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 166 bytes - Click Count (0) -
docs_src/python_types/tutorial010_py39.py
class Person: def __init__(self, name: str): self.name = name def get_person_name(one_person: Person):Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 144 bytes - Click Count (0) -
apache-maven/src/main/appended-resources/licenses/MIT.txt
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri May 17 19:14:22 GMT 2024 - 1.1K bytes - Click Count (0) -
internal/ringbuffer/LICENSE
Copyright (c) 2019 smallnest Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed May 15 00:11:04 GMT 2024 - 1K bytes - Click Count (0) -
LICENSE
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Jan 12 10:32:39 GMT 2025 - 1.1K bytes - Click Count (0) -
internal/s3select/jstream/LICENSE
Copyright (c) 2018 Bradley Cicenas Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Sep 23 19:35:41 GMT 2024 - 1.1K bytes - Click Count (0) -
LICENSE
Copyright (c) 2018 Sebastián RamÃrez Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 08 07:57:18 GMT 2018 - 1.1K bytes - Click Count (0)