Skip to content

Commit c223ebb

Browse files
committed
Added update to request function
1 parent ffff09c commit c223ebb

File tree

1 file changed

+147
-0
lines changed

1 file changed

+147
-0
lines changed

retrieving_data.ipynb

+147
Original file line numberDiff line numberDiff line change
@@ -2098,6 +2098,153 @@
20982098
"features = ['login','id','type','followers','following','public_repos','bio','updated_at','created_at']"
20992099
]
21002100
},
2101+
{
2102+
"cell_type": "code",
2103+
"execution_count": null,
2104+
"metadata": {},
2105+
"outputs": [],
2106+
"source": []
2107+
},
2108+
{
2109+
"cell_type": "code",
2110+
"execution_count": null,
2111+
"metadata": {},
2112+
"outputs": [],
2113+
"source": []
2114+
},
2115+
{
2116+
"cell_type": "code",
2117+
"execution_count": null,
2118+
"metadata": {},
2119+
"outputs": [],
2120+
"source": []
2121+
},
2122+
{
2123+
"cell_type": "code",
2124+
"execution_count": null,
2125+
"metadata": {},
2126+
"outputs": [],
2127+
"source": []
2128+
},
2129+
{
2130+
"cell_type": "code",
2131+
"execution_count": null,
2132+
"metadata": {},
2133+
"outputs": [],
2134+
"source": []
2135+
},
2136+
{
2137+
"cell_type": "code",
2138+
"execution_count": null,
2139+
"metadata": {},
2140+
"outputs": [],
2141+
"source": []
2142+
},
2143+
{
2144+
"cell_type": "code",
2145+
"execution_count": 210,
2146+
"metadata": {},
2147+
"outputs": [],
2148+
"source": [
2149+
"class Person:\n",
2150+
" '''This is Docstring'''\n",
2151+
" def __init__(self, name, age):\n",
2152+
" ''' This is Init docstring'''\n",
2153+
" self.name = name\n",
2154+
" self.age = age\n",
2155+
" \n",
2156+
" def greet(self, time):\n",
2157+
" ''' method Docstring'''\n",
2158+
" self.time = time\n",
2159+
" print(f\"Hello my name is {self.name}, I am available at {time}\") \n",
2160+
" \n",
2161+
"p1 = Person(\"Al\", 32)"
2162+
]
2163+
},
2164+
{
2165+
"cell_type": "code",
2166+
"execution_count": 211,
2167+
"metadata": {},
2168+
"outputs": [
2169+
{
2170+
"name": "stdout",
2171+
"output_type": "stream",
2172+
"text": [
2173+
"Hello my name isAl, I am available at 6pm\n"
2174+
]
2175+
}
2176+
],
2177+
"source": [
2178+
"\n",
2179+
"p1.greet(time = '6pm')"
2180+
]
2181+
},
2182+
{
2183+
"cell_type": "code",
2184+
"execution_count": 206,
2185+
"metadata": {},
2186+
"outputs": [
2187+
{
2188+
"data": {
2189+
"text/plain": [
2190+
"'6pm'"
2191+
]
2192+
},
2193+
"execution_count": 206,
2194+
"metadata": {},
2195+
"output_type": "execute_result"
2196+
}
2197+
],
2198+
"source": [
2199+
"p1.time"
2200+
]
2201+
},
2202+
{
2203+
"cell_type": "code",
2204+
"execution_count": null,
2205+
"metadata": {},
2206+
"outputs": [],
2207+
"source": [
2208+
"p1"
2209+
]
2210+
},
2211+
{
2212+
"cell_type": "code",
2213+
"execution_count": 196,
2214+
"metadata": {},
2215+
"outputs": [
2216+
{
2217+
"name": "stdout",
2218+
"output_type": "stream",
2219+
"text": [
2220+
"Hellow my name isAl, I am available at6pm\n"
2221+
]
2222+
}
2223+
],
2224+
"source": [
2225+
"p1.greet('6pm')"
2226+
]
2227+
},
2228+
{
2229+
"cell_type": "code",
2230+
"execution_count": 189,
2231+
"metadata": {},
2232+
"outputs": [
2233+
{
2234+
"data": {
2235+
"text/plain": [
2236+
"32"
2237+
]
2238+
},
2239+
"execution_count": 189,
2240+
"metadata": {},
2241+
"output_type": "execute_result"
2242+
}
2243+
],
2244+
"source": [
2245+
"p1.age"
2246+
]
2247+
},
21012248
{
21022249
"cell_type": "code",
21032250
"execution_count": null,

0 commit comments

Comments
 (0)